-
Hi, I noticed some unexpected behavior today. Using the following code: ...
thread = ChatHistoryAgentThread = ChatHistoryAgentThread(chat_history=history)
result = await self._agent.get_response(
messages=chat_messages,
thread=thread
)
... After the
then the messages are correctly added after get_response finishes. Is this expected behavior, or could it be a limitation or bug? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I'll look into this. However, we're moving away from wanting devs to directly access the chat history as part of the thread. Can you try to call |
Beta Was this translation helpful? Give feedback.
I'll look into this. However, we're moving away from wanting devs to directly access the chat history as part of the thread. Can you try to call
thread.get_messages(...)
(returns an async gen).