feat(autogen): upgrade to v0.7.5, fix all examples, and add 4 new examples#25
Open
martimfasantos wants to merge 1 commit intomainfrom
Open
feat(autogen): upgrade to v0.7.5, fix all examples, and add 4 new examples#25martimfasantos wants to merge 1 commit intomainfrom
martimfasantos wants to merge 1 commit intomainfrom
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OUTPUTS.mdwith captured output and feature highlight annotations for all 12 examplesExamples
00_hello_world.pyAssistantAgent, streaming output withConsole01_tools.pyFunctionTool, tool schema generation, tool call execution02_streaming_and_metrics.py03_structured_outputs.py04_human_in_the_loop.pyHandoffTermination, pausing and resuming with user input05_multi_agent_teams.pyRoundRobin,Selector,MagenticOne,Swarmteam presets06_agents_as_tool.pyAgentTool,TeamTool, disabling parallel tool calls07_memory.pyListMemory, user preferences, memory-aware tool usage08_graph_flow.pyDiGraphBuilder, sequential/parallel/conditional workflows09_termination_conditions.pyMaxMessage,TextMention,Timeout, OR/AND combinators10_state_management.pysave_state/load_statefor agents and teams, checkpointing11_custom_agents.pyBaseChatAgent(CountDownAgent, EchoAgent)Changes to Existing Files
00–07examples0_–7_to zero-padded00_–07_, added convention-compliant docstrings with verified docs URLs, addedawait model_client.close(), wrapped inasync def main()02_streaming_and_metrics.pysumtoadd_numbersto avoid shadowing Python builtin (caused infinite recursion)04_human_in_the_loop.pyHandoffTerminationpattern instead ofinput()calls (violates "No Interactive Input" rule)07_memory.py_model_contextattributepyproject.toml>=specifiers.env.examplegpt-4otogpt-4o-minito matchsettings.pyREADME.mdautogen-project/Configuration
gpt-4o-mini) viasettings.pyautogen-agentchat>=0.7.5,autogen-core>=0.7.5,autogen-ext[openai]>=0.7.5,pydantic>=2.10,pydantic-settings>=2.10uvpackage managerTesting
All 12 examples ran successfully with exit code 0 and produced feature-showcasing output (see
OUTPUTS.mdfor full details).