fix(ai): disable OpenAI Responses storage by default (closes #1308)
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Set OpenAI Responses API requests to `store: false` by default to avoid server-side history logging ([#1308](https://github.com/badlogic/pi-mono/issues/1308))
|
||||||
|
|
||||||
## [0.52.6] - 2026-02-05
|
## [0.52.6] - 2026-02-05
|
||||||
|
|
||||||
## [0.52.5] - 2026-02-05
|
## [0.52.5] - 2026-02-05
|
||||||
|
|||||||
@@ -206,6 +206,7 @@ function buildParams(model: Model<"openai-responses">, context: Context, options
|
|||||||
stream: true,
|
stream: true,
|
||||||
prompt_cache_key: cacheRetention === "none" ? undefined : options?.sessionId,
|
prompt_cache_key: cacheRetention === "none" ? undefined : options?.sessionId,
|
||||||
prompt_cache_retention: getPromptCacheRetention(model.baseUrl, cacheRetention),
|
prompt_cache_retention: getPromptCacheRetention(model.baseUrl, cacheRetention),
|
||||||
|
store: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (options?.maxTokens) {
|
if (options?.maxTokens) {
|
||||||
|
|||||||
Reference in New Issue
Block a user