Support for AgentThreadStore / CacheStore #2463
Shubham-Kumar-2000
started this conversation in
General
Replies: 1 comment
-
|
@Shubham-Kumar-2000 we are considering doing a update to the way threads are created and used, which includes a clearer story around this topic: #2420 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I was working on the integration of A2A protocol [PR] where when the same
contextIdis passed from the client end then the agent should have the context of all the pastChatMessageson the same id.Now as agents in
agent_frameworkare stateless and context is managed throughAgentThreadswe need to have a mapping betweencontextIdand threads such that we can reuse threads when we get the same id.To enable this as a library I wanted to have a Store interface that the users may override to store threads in their preferred location.
But didn't find any such out of box support in core library.
I remember there was something called
CacheStoreinautogenthat was a generalised store for any entity.Should can we add support for a generalised store or a specific
AgentThreadStorefor only storingAgentThreads?Or is there a better way to achieve this that I am missing.
Beta Was this translation helpful? Give feedback.
All reactions