mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Removed list_messages method from thread (#564)
This commit is contained in:
committed by
GitHub
Unverified
parent
a80db062b2
commit
2037e533b3
@@ -138,10 +138,6 @@ class AgentThread(AFBaseModel):
|
||||
|
||||
self._message_store = message_store
|
||||
|
||||
async def list_messages(self) -> list[ChatMessage] | None:
|
||||
"""Retrieves any messages stored in ChatMessageStore of the thread, otherwise returns an empty collection."""
|
||||
return await self._message_store.list_messages() if self._message_store is not None else None
|
||||
|
||||
async def serialize(self, **kwargs: Any) -> dict[str, Any]:
|
||||
"""Serializes the current object's state.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user