mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-18 22:14:27 +00:00
* fix: Accept Content-Array Outputs in Responses function_call_output The Open Responses spec allows function_call_output.output to be a string or an array of input_text, input_image and input_file parts, but request validation refused anything that was not a string. Validate the array parts and convert them with the same part mapping the message path uses, so the replayed tool result keeps its text and images in order. * fix: Inspect Tool-Output Media Against File Policies Image URLs and file names in a function_call_output content array reached the model without the file-policy fragments the same parts get in a message. Collect those fragments for both item types in packages/api and call that from the Responses controller. * test: Cover Content-Array Tool Outputs in the Responses API |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| callbacks.background.spec.js | ||
| callbacks.js | ||
| client.codeDecision.spec.js | ||
| client.imageDetail.spec.js | ||
| client.js | ||
| client.test.js | ||
| filterAuthorizedTools.spec.js | ||
| openai.js | ||
| protocol.js | ||
| queuedTurns.js | ||
| recordCollectedUsage.spec.js | ||
| request.js | ||
| responses.js | ||
| resume.js | ||
| steer.js | ||
| v1.js | ||
| v1.spec.js | ||