Commit: 5a6bfa1
Date: June 20, 2025 at 1:12 PM
- adk: change EventAction to EventActions type
In adk-python, event actions field is the EventActions type
that carries the delta of the event sets.
And add Event.IsFinalResponse method that checkes whether the event
corresponds to the final LLM response. Ported adk-python's
src/google/adk/agents/events/event.py, event.isfinalresponse.
This helper is used in llm agent.
- agent: single flow LLM agent
Single flow LLM flow handles a trivial LLM call case where transfer to
peers or subagents or parent agent is not allowed.
Autoflow, streaming cases handling, etc are clearly missing.
Added the skeletone of the Request/response processors set up by default
in adk-python's single flow.
Add maybeAppendUserContent to the gemini model - an agent may not have
a user content but system instructions. genai API does not allow a request
with empty contents. The prompts are from the equivalent method of
adk-python's BaseLLM.
Powered by ChangeCrab