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 |
||
|---|---|---|
| .. | ||
| app/clients | ||
| cache | ||
| config | ||
| db | ||
| models | ||
| server | ||
| strategies | ||
| test | ||
| utils | ||
| jest.config.js | ||
| jsconfig.json | ||
| package.json | ||
| recover-skill-upload.js | ||
| typedefs.js | ||