adk-python icon indicating copy to clipboard operation
adk-python copied to clipboard

Include tool use record in conversation history

Open ckl-axel opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. The conversation history does not include tool use and the agent is confused about whether it invoked a tool.

Describe the solution you'd like When asked if a specific tool use is triggered recently, the agent can determine that based on recent history.

Describe alternatives you've considered There are workarounds like putting it in the state, but then it wouldn't be naturally integrated with the conversation.

ckl-axel avatar May 15 '25 22:05 ckl-axel

the function calls / function results are included in the content as a part in the event. I guess you want to model to know that and answer questions about past function call history?

boyangsvl avatar May 16 '25 04:05 boyangsvl

Image

I think we already support it.

seanzhou1023 avatar May 19 '25 21:05 seanzhou1023

please reopen if you still think it doesn't work.

seanzhou1023 avatar May 19 '25 21:05 seanzhou1023

Is the LLM inferring the "4 times" information from the summary, which is in the history, or does it actually have it in history?

ckl-axel avatar May 19 '25 23:05 ckl-axel