Skip to content

refactor: share provider generation-span population - #4877

Merged
seratch merged 1 commit into
mainfrom
codex/maintenance-provider-tracing-normalization
Sep 5, 2026
Merged

seratch merged 1 commit into
mainfrom
codex/maintenance-provider-tracing-normalization

Conversation

@seratch

@seratch seratch commented Sep 5, 2026

Copy link
Copy Markdown
Member

This pull request updates the OpenAI Chat Completions, LiteLLM, and AnyLLM adapters to share generation-span population through models/_trace.py, removing three copies of the same conversion logic.

Trace output, usage accounting, sensitive-data exclusion, and updates before terminal events remain unchanged, including when a consumer closes the stream immediately after receiving the terminal event.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-05T08:57:21.193308Z 6414d6f PR opened
🔒 Security Review ✅ Completed 2026-09-05T08:59:33.399106Z 6414d6f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@seratch
seratch merged commit f22fb0c into main Sep 5, 2026
18 checks passed
@seratch
seratch deleted the codex/maintenance-provider-tracing-normalization branch September 5, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant