forked from microsoft/autogen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some type annotations and edge cases (microsoft#572)
* Fix some type annotations in agents This fixes some errors in type annotations of `ConversableAgent`, `UserProxyAgent`, `GroupChat` and `AssistantAgent` by adjusting the type signature according to the actual implementation. There should be no change in code behavior. * Fix agent types in `GroupChat` Some `Agent`s are actually required to be `ConversableAgent` because they are used as one. * Convert str message to dict before printing message * Revert back to Agent for GroupChat * GroupChat revert update --------- Co-authored-by: Beibin Li <[email protected]> Co-authored-by: Beibin Li <[email protected]>
- Loading branch information
1 parent
39fb143
commit 37064b1
Showing
4 changed files
with
26 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters