Skip to content

fix: add store:false to Chat Completions and /responses fallback#572

Closed
Zartris wants to merge 1 commit intoGitlawb:mainfrom
Zartris:fix/store-false-privacy
Closed

fix: add store:false to Chat Completions and /responses fallback#572
Zartris wants to merge 1 commit intoGitlawb:mainfrom
Zartris:fix/store-false-privacy

Conversation

@Zartris
Copy link
Copy Markdown
Contributor

@Zartris Zartris commented Apr 10, 2026

Summary

Add store: false to the Chat Completions and /responses fallback request bodies in openaiShim.ts.

Problem

The Responses API primary path (codexShim.ts) already sets store: false, but the Chat Completions path and the /responses fallback in openaiShim.ts do not. This creates an inconsistency where some API paths opt out of server-side data storage and others do not.

Changes

  • Add store: false to the Chat Completions request body (line ~1161)
  • Add store: false to the /responses fallback request body (line ~1336)

Context

store: false tells the API provider not to persist conversation data for model training, logging, or other non-operational purposes. This is a privacy measure that does not affect caching or functionality.

Whether third-party proxies (e.g. GitHub Copilot) honour this parameter is provider-dependent, but setting it is a reasonable default for user privacy and consistency with the codexShim path.

Set store: false in the request body for both the Chat Completions path
and the /responses fallback path in openaiShim.ts.

The codexShim (Responses API primary path) already sets store: false.
The Chat Completions path and the /responses fallback in openaiShim were
missing it.

store: false tells the API provider not to persist conversation data for
model training, logging, or other non-operational purposes. This is a
privacy measure — it does not affect caching or functionality.

Note: Whether third-party proxies (e.g. GitHub Copilot) honour this
parameter is provider-dependent, but setting it is a reasonable default
for user privacy.
@Zartris
Copy link
Copy Markdown
Contributor Author

Zartris commented Apr 10, 2026

Reopening with pr/ branch naming convention

@Zartris Zartris closed this Apr 10, 2026
@Zartris Zartris deleted the fix/store-false-privacy branch April 10, 2026 12:30
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