Skip to content

Add Codex custom parent trace config#11

Open
Stephen Belanger (Qard) wants to merge 1 commit into
mainfrom
codex-custom-parent
Open

Add Codex custom parent trace config#11
Stephen Belanger (Qard) wants to merge 1 commit into
mainfrom
codex-custom-parent

Conversation

@Qard

Copy link
Copy Markdown
Contributor

Summary

  • Add Codex-specific CODEX_PARENT_SPAN_ID and CODEX_ROOT_SPAN_ID support for attaching a Codex trace to an existing Braintrust trace.
  • Add matching config.json keys: parentSpanId and rootSpanId.
  • Keep Codex turns and tools parented under the Codex session span while the session span attaches under the configured external parent.
  • Document the new configuration and examples.

Validation

  • bun test
  • bun run typecheck
  • bun run lint

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