Skip to content

fix(common): drop OpenAI itemId from provider options#1164

Open
zwpaper wants to merge 1 commit intomainfrom
fix/chat-error
Open

fix(common): drop OpenAI itemId from provider options#1164
zwpaper wants to merge 1 commit intomainfrom
fix/chat-error

Conversation

@zwpaper
Copy link
Copy Markdown
Member

@zwpaper zwpaper commented Jan 24, 2026

Notes for reviewer

Fixing error:
image
image

Chat and stream with openai gpt codex works:
image

Learn from:

in the commit comment, it also says codex also did this patch.

related discuss:

Summary

  • strip OpenAI itemId fields from providerOptions on message parts
  • keep formatted/stored messages aligned with schema validation

Test plan

  • Not run (not requested)

🤖 Generated with Pochi

Remove transient itemId fields from provider options to keep stored
messages compatible with schema validation.

🤖 Generated with [Pochi](https://getpochi.com)

Co-Authored-By: Pochi <noreply@getpochi.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 18.44%. Comparing base (e83a010) to head (1ea828a).
⚠️ Report is 63 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1164      +/-   ##
==========================================
+ Coverage   18.42%   18.44%   +0.01%     
==========================================
  Files         626      626              
  Lines       56626    56641      +15     
  Branches     1381     1385       +4     
==========================================
+ Hits        10431    10445      +14     
- Misses      45955    45956       +1     
  Partials      240      240              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants