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:
@@ -227,8 +227,9 @@ async def test_chat_client_agent_update_thread_messages(chat_client: ChatClient)
|
||||
assert result.text == "test response"
|
||||
|
||||
assert thread.service_thread_id is None
|
||||
assert thread.message_store is not None
|
||||
|
||||
chat_messages: list[ChatMessage] | None = await thread.list_messages()
|
||||
chat_messages: list[ChatMessage] = await thread.message_store.list_messages()
|
||||
|
||||
assert chat_messages is not None
|
||||
assert len(chat_messages) == 2
|
||||
|
||||
Reference in New Issue
Block a user