Skip to content
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

MagenticOne Orchestrator Fixes #4430

Merged
merged 8 commits into from
Nov 30, 2024
Merged

MagenticOne Orchestrator Fixes #4430

merged 8 commits into from
Nov 30, 2024

Conversation

husseinmozannar
Copy link
Contributor

@husseinmozannar husseinmozannar commented Nov 29, 2024

Why are these changes needed?

Add back some verification logic to MagenticOne Orchestrator.

Base the orchestrator on the base group chat manager.

Remaining:

  • add intermediate logging
  • update tests

Related issue number

Will resolve #4177

#3756 - Updates to this PR

@husseinmozannar husseinmozannar requested review from ekzhu and afourney and removed request for ekzhu November 29, 2024 22:39
@husseinmozannar
Copy link
Contributor Author

@ekzhu still working on this, but curious, is this better for integrating the M1 orchestrator as an actual group chat manager? Anything else that would improve it?

Copy link
Collaborator

@ekzhu ekzhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Don't forget about adding unit tests for the magentic one group chat. Use ReplayChatCompletionClient #4412

@ekzhu
Copy link
Collaborator

ekzhu commented Nov 30, 2024

@ekzhu still working on this, but curious, is this better for integrating the M1 orchestrator as an actual group chat manager? Anything else that would improve it?

Yes it is good to make it a group chat manager. It allows us to refactor group chat manager logic into a developer facing API.

@ekzhu
Copy link
Collaborator

ekzhu commented Nov 30, 2024

Also, remember to add API docs with examples and argument list for MagenticOneGroupChat

#4411

@husseinmozannar husseinmozannar marked this pull request as ready for review November 30, 2024 09:49
@husseinmozannar
Copy link
Contributor Author

husseinmozannar commented Nov 30, 2024

Thanks Eric!

Added two simple tests and API docs, and ironed a few bugs + trace logger.

I ran into a mypy error because of overriding handle_agent_response and handle_start, added # type ignore because I couldn't figure out how to fix.

Please merge when appropriate

@ekzhu
Copy link
Collaborator

ekzhu commented Nov 30, 2024

One last small lint error see checks.

@ekzhu
Copy link
Collaborator

ekzhu commented Nov 30, 2024

Thanks Eric!

Added two simple tests and API docs, and ironed a few bugs + trace logger.

I ran into a mypy error because of overriding handle_agent_response and handle_start, added # type ignore because I couldn't figure out how to fix.

Please merge when appropriate

Overriding handlers causes mypy error is a know issue. It's okay to ignore it for now.

@ekzhu ekzhu merged commit ac3424d into main Nov 30, 2024
44 checks passed
@ekzhu ekzhu deleted the m1_orch_fixes branch November 30, 2024 22:11
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.

AgentChat port of MagenticOneOrchestrator needs to validate json
2 participants