mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Updated DurableAIAgent and fixed integration tests (#3241)
This commit is contained in:
committed by
GitHub
Unverified
parent
2ab859dd94
commit
6e9420f614
@@ -364,7 +364,7 @@ class TestDurableAIAgent:
|
||||
# Create thread and call
|
||||
thread = agent.get_new_thread()
|
||||
|
||||
task = agent.run(messages="Test message", thread=thread, response_format=SampleSchema)
|
||||
task = agent.run(messages="Test message", thread=thread, options={"response_format": SampleSchema})
|
||||
|
||||
assert isinstance(task, AgentTask)
|
||||
assert task.children[0] == entity_task
|
||||
|
||||
Reference in New Issue
Block a user