Python: Add special handling for workflows (#5298)

* Add special handling for workflows

* Address comments
This commit is contained in:
Tao Chen
2026-04-16 17:55:45 -07:00
committed by GitHub
parent 55e0705923
commit 0fcd71dbeb
6 changed files with 224 additions and 42 deletions
@@ -5,7 +5,6 @@ import os
from agent_framework import Agent
from agent_framework.foundry import FoundryChatClient
from agent_framework_foundry_hosting import ResponsesHostServer
from azure.ai.agentserver.responses import InMemoryResponseProvider
from azure.identity import AzureCliCredential
from dotenv import load_dotenv
@@ -29,7 +28,7 @@ def main():
default_options={"store": False},
)
server = ResponsesHostServer(agent, store=InMemoryResponseProvider())
server = ResponsesHostServer(agent)
server.run()