Skip to content

Collect and return direct response traces - #183

Open
soon-dubu wants to merge 14 commits into
spencer/openai-shaped-trace-modelsfrom
spencer/direct-response-trace
Open

soon-dubu wants to merge 14 commits into
spencer/openai-shaped-trace-modelsfrom
spencer/direct-response-trace

Conversation

@soon-dubu

@soon-dubu soon-dubu commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add AgentResponse.trace and best-effort parsing of direct response-trace records
  • wire native and Pyodide Agent.run to response.trace without adapting legacy traces
  • add runnable Operator and Agent Studio examples plus a combined notebook
  • display the flat trace and parent/child hierarchy without introducing span-level billing fields
  • preserve existing request-level AgentResponse.usage, action_trace, and workflow_trace behavior

Testing

  • focused response-model, response-record, export, and Agent suites: 40 passed
  • Ruff check and format passed for changed files

Codex sibling refs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant