Avoid cross-provider thought signatures (#654)

* Avoid cross-provider thought signatures

* Fix Google thought signature replay

Filter thought signatures to same provider with base64 validation and rename the transform helper for clarity.
This commit is contained in:
Danila Poyarkov 2026-01-12 18:38:53 +03:00 committed by GitHub
parent 6f3ba88733
commit 934e7e470b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 28 additions and 9 deletions

View file

@ -42,7 +42,7 @@ import {
transformRequestBody,
} from "./openai-codex/request-transformer.js";
import { parseCodexError, parseCodexSseStream } from "./openai-codex/response-handler.js";
import { transformMessages } from "./transorm-messages.js";
import { transformMessages } from "./transform-messages.js";
export interface OpenAICodexResponsesOptions extends StreamOptions {
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";