Discussed in #7502
Originally posted by dgsear August 4, 2026
- What I'm trying
workflow.as_agent exposed via AgentFrameworkAgent
- AG-UI endpoint(texted on both invocations and FastAPI)
- What Works
- AgentFrameworkWorkflow Path resumes correctly
- What fails
- resume after function_Approval_request on workflow.as_agent path
- error:Response type mismatch ... expected Content , got str
- Repro Summary
- first run emits interrupt with tool_call id
- resume with accepted +args payload
- either APPROVAL_RESUME_INVALID or Content/str mismatch depending on payload shape
5.Questions
- Is workflow.as_agent + AgentFrameworkAgent expected to support this interrupt/resume path for Content-typed workflow request_info?
- Or is AgentFrameworkWorkflow the intended adapter for AG-UI workflow resumes?
Discussed in #7502
Originally posted by dgsear August 4, 2026
workflow.as_agentexposed via AgentFrameworkAgent5.Questions