mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-19 14:33:38 +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__ | ||
| agents | ||
| assistants | ||
| auth | ||
| AuthController.js | ||
| AuthController.spec.js | ||
| avatar.contentFilter.spec.js | ||
| Balance.js | ||
| Balance.spec.js | ||
| EndpointController.js | ||
| FavoritesController.js | ||
| FavoritesController.spec.js | ||
| mcp.js | ||
| mcpApps.js | ||
| mcpApps.test.js | ||
| ModelController.js | ||
| ModelController.spec.js | ||
| PermissionsController.js | ||
| PluginController.js | ||
| PluginController.spec.js | ||
| ReasoningCapabilitiesController.js | ||
| SkillStatesController.js | ||
| TokenConfigController.js | ||
| tools.js | ||
| TwoFactorController.js | ||
| UserController.js | ||
| UserController.spec.js | ||