Skip to content

Upgrade autogen to 0.5.2 #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

Spark-Huang
Copy link

No description provided.

Backend (autogenui/web/app.py, autogenui/provider.py):
- Change final result WebSocket event type from "result" to "TaskResultEvent" for consistency.
- Implement logic to extract final result from a designated "final_responder" agent instead of the last message.
- Fix race condition by sending TerminationEvent immediately after TaskResultEvent and breaking the stream loop.
- Fix TypeError in provider.py when loading agent config with 'tools' set to null.
- Correctly use message.source to determine sender name for WebSocket events sent to frontend.

Frontend (frontend/src/components/chat/chatview.tsx, frontend/src/components/chat/messagelist.tsx):
- Revert frontend logic to listen for "TaskResultEvent" and update finalResponse/status (result primarily shown in Processing Steps).
- Fix JSON parsing error caused by WebSocket "pong" messages.
- Ensure "View Processing Steps" collapse panel correctly collapses on completion using a dynamic key.

Configuration (notebooks/default_team.json):
- Update default team config to include separate "writing_agent" and "final_responder" agents.
- Increase max_messages in default team termination condition to accommodate the new agent.
- Updated final_responder's system message to explicitly instruct summarizing *before* outputting TERMINATE on a new line.
- Changed group chat termination condition to TextMentionTermination to reliably stop the conversation upon seeing "TERMINATE".
- Filtered trailing "TERMINATE" text in frontend/messagelist.tsx to prevent displaying the termination signal to the user.
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