🐛 fix: add end-user info on OpenAI Responses API call (#12134)

Add end-user info on OpenAI Responses API call
This commit is contained in:
Antoine Roux
2026-02-08 16:17:22 +01:00
committed by GitHub
parent bd4e253d1b
commit 72a85ac151

View File

@@ -907,6 +907,7 @@ export const createOpenAICompatibleRuntime = <T extends Record<string, any> = an
store: false,
stream: !isStreaming ? undefined : isStreaming,
tools: tools?.map((tool) => this.convertChatCompletionToolToResponseTool(tool)),
user: options?.user,
} as OpenAI.Responses.ResponseCreateParamsStreaming | OpenAI.Responses.ResponseCreateParams;
if (debugParams?.responses?.()) {