Skip to content

Conversation

@ekzhu
Copy link
Contributor

@ekzhu ekzhu commented Mar 28, 2025

Resolves #5851

  • Added GroupChatError event type and terminate a run when an error occurs in either a participant or the group chat manager
  • Raise a RuntimeError from the error message within the group chat run

@codecov
Copy link

codecov bot commented Mar 28, 2025

Codecov Report

Attention: Patch coverage is 91.35802% with 7 lines in your changes missing coverage. Please review.

Project coverage is 77.26%. Comparing base (86237c9) to head (e04dd5f).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...chat/teams/_group_chat/_base_group_chat_manager.py 87.80% 5 Missing ⚠️
...entchat/teams/_group_chat/_chat_agent_container.py 93.33% 1 Missing ⚠️
...src/autogen_agentchat/teams/_group_chat/_events.py 95.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6141      +/-   ##
==========================================
+ Coverage   77.22%   77.26%   +0.04%     
==========================================
  Files         197      197              
  Lines       13745    13783      +38     
==========================================
+ Hits        10615    10650      +35     
- Misses       3130     3133       +3     
Flag Coverage Δ
unittests 77.26% <91.35%> (+0.04%) ⬆️

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 enabled auto-merge (squash) April 1, 2025 20:11
@ekzhu ekzhu merged commit aec04e7 into main Apr 1, 2025
56 checks passed
@ekzhu ekzhu deleted the ekzhu-terminate-on-error branch April 1, 2025 20:17
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.

Stop consuming output queue when there is an exception from agent when using custom runtime

3 participants