Repository navigation
Replies: 3 comments
|
it has nothing to do with state |
|
Thanks! After trying things out more with ADK, now I understand where my confusion came from. I think in early starter documentation, I want a clearer explanation of what an agent can see as input. IIUC, it's just instruction + chat history + tool use results. If I want state visible, it must be templated in instruction. Is my understanding right? |
|
@Bobgy Your restated understanding is spot on. include_contents='none' only trims prior conversation history, it has zero interaction with session state either way. State only reaches the model if you template it into the instruction with {variable}. Closing this out since it looks addressed, feel free to reopen or comment if anything's still unclear. |
Uh oh!
There was an error while loading. Please reload this page.
Q: Does include_contents='none' exclude providing state as input to the agent? (When not explicitly embedding state in the agent's instruction.)
From the documentation, it does not seem very clear, it only talks about chat history is excluded.
https://google.github.io/adk-docs/agents/llm-agents/#managing-context-include_contents
All reactions