Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
When the signer holds a call (ask), the OpenAI Agents adapter (tracekit/integrations/openai_agents.py) doesn't pass the decide response's reason to the app or the model, so the app can't show the person why it's waiting. For example, a grant's 100 of 120 USD used; this call needs 40 USD. The spending recipe (#830) has to read the reason from the bundle after export instead. Found while writing that recipe.
Done when:
- A held call gives the app the signer's reason (the
decideresponse'sreasonorreasons), the way the other adapters do. Checktracekit/integrations/gate.pyand the LangChain adapter, and match their shape. - The model is told the call is held and why, as the Claude Code hook's message does (
stopped()intracekit/integrations/claude_code.py), without the approval commands, which are for the person. - A test fails on main and passes with the change.
- If it's simpler, the recipe's example (
examples/v2/openai_agents/spending.py, once Docs: a recipe for agent spending limits and offline receipts (intent grants) #830 merges) prints the reason at the hold instead of from the bundle.
Commits need a DCO sign-off (git commit -s).
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed
Activity
Seemanshi2104 commentedon Nov 15, 2026
I would like to work on this issue.
LoopGlitch26 commentedon Nov 15, 2026
Assigned to you. Ask here if anything in the issue is unclear.