mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: Properly configure structured outputs based on new options dict (#3213)
* Properly configure structured outputs based on new options dict * Fix mypy
This commit is contained in:
committed by
GitHub
Unverified
parent
620da7a829
commit
15d0c34d9f
+1
-1
@@ -49,7 +49,7 @@ async def run_agent_framework() -> None:
|
||||
# AF forwards the same response_format payload at invocation time.
|
||||
reply = await chat_agent.run(
|
||||
"Draft a launch brief for the Contoso Note app.",
|
||||
response_format=ReleaseBrief,
|
||||
options={"response_format": ReleaseBrief},
|
||||
)
|
||||
print("[AF]", reply.text)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user