feat: LoopAgent exit_condition, ReflectRetry plugin, RunConfig, weather example#3
Merged
zeroasterisk merged 1 commit intomainfrom Mar 9, 2026
Conversation
…er example - LoopAgent (#89): Added exit_condition function support, context state merging between iterations, thorough tests including nested loops - ReflectRetry plugin (#78): Intercepts error events, feeds errors back to agent with reflection context, configurable max retries - RunConfig (#90): New struct with streaming_mode, max_llm_calls, output_format, speech_config; integrated into Runner and Context - Weather agent example (#93): Complete runnable Mix project with agent definition, tool creation, runner usage, README
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.
Changes
1. LoopAgent enhancement (#89) — P1
exit_conditionfunction field that receives context after each iteration2. ReflectRetry Plugin (#78) — P1
ADK.Plugin.ReflectRetrythat intercepts error events inafter_run/3max_retries(default: 3)3. RunConfig (#90) — P2
ADK.RunConfigstruct:streaming_mode(:none/:sse/:live),max_llm_calls,output_format,speech_configrun_config:option) and Context4. Weather Agent Example (#93 partial)
examples/weather_agent/Test Results