Skip to content

Add functional termination condition#6398

Merged
ekzhu merged 6 commits intomainfrom
ekzhu-functional-termination
Apr 25, 2025
Merged

Add functional termination condition#6398
ekzhu merged 6 commits intomainfrom
ekzhu-functional-termination

Conversation

@ekzhu
Copy link
Copy Markdown
Contributor

@ekzhu ekzhu commented Apr 25, 2025

Use an expression for termination condition check. This works well especially with structured messages.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 25, 2025

Codecov Report

Attention: Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.

Project coverage is 78.42%. Comparing base (519a04d) to head (fbd7afa).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../src/autogen_agentchat/conditions/_terminations.py 95.23% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6398      +/-   ##
==========================================
+ Coverage   78.40%   78.42%   +0.02%     
==========================================
  Files         221      221              
  Lines       16042    16062      +20     
==========================================
+ Hits        12577    12596      +19     
- Misses       3465     3466       +1     
Flag Coverage Δ
unittests 78.42% <95.23%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ekzhu ekzhu merged commit 7bdd7f6 into main Apr 25, 2025
61 checks passed
@ekzhu ekzhu deleted the ekzhu-functional-termination branch April 25, 2025 22:57
peterj added a commit to kagent-dev/autogen that referenced this pull request Apr 26, 2025
…n0425

* upstream/main:
  Update website for v0.5.5 (microsoft#6401)
  Document custom message types in teams API docs (microsoft#6400)
  [doc] Clarify selector prompt for SelectorGroupChat (microsoft#6399)
  Add functional termination condition (microsoft#6398)
  Update: implement return_value_as_string for McpToolAdapter  (microsoft#6380)
  Update version to 0.5.5 (microsoft#6397)
  Add example using autogen-core and FastAPI for handoff multi-agent design pattern with streaming and UI (microsoft#6391)
  Update agent documentation  (microsoft#6394)
  AssistantAgent to support Workbench (microsoft#6393)
  TEST: skip when macos+uv and adding uv venv tests (microsoft#6387)
  Add guide for workbench and mcp & bug fixes for create_mcp_server_session (microsoft#6392)

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant