mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-17 13:33:45 +00:00
* fix: Report Union, Object, Array and Later Fields in Tool Validation Feedback Type checks now cover integer, array, object and null, accept any member of a declared type union, and scan every schema property. The cap of 8 applies to reported fields instead of inspected properties, so a mismatch past the eighth property is still named. Related to #17875 * fix: Read anyOf, oneOf and nullable Types in Tool Validation Feedback Pydantic and zod describe an optional object as an anyOf of object and null, and the Gemini sanitizer collapses unions into a type plus nullable: true. Both shapes now report the field, and a valid null is no longer flagged. Adds a mock MCP tool with a nullable object after its eighth property and a scenario that checks the model receives the field name but not the value. |
||
|---|---|---|
| .. | ||
| agent-management.ts | ||
| authenticate.ts | ||
| cleanupUser.ts | ||
| dynamic-mcp-tools.js | ||
| env.ts | ||
| fake-assistants-server.js | ||
| fake-code-server.js | ||
| fake-git-host-server.js | ||
| fake-label-server.js | ||
| fake-mcp-app-server.mjs | ||
| fake-mcp-dynamic-network-server.js | ||
| fake-mcp-http-server.js | ||
| fake-mcp-oauth-server.js | ||
| fake-mcp-server.js | ||
| fake-model.js | ||
| fake-rag-server.js | ||
| global-setup.email.ts | ||
| global-setup.local.ts | ||
| global-setup.ts | ||
| global-teardown.email.ts | ||
| global-teardown.local.ts | ||
| global-teardown.mock.ts | ||
| global-teardown.ts | ||
| mailbox-server.js | ||
| mailbox.ts | ||
| model-replay.js | ||
| record-model.js | ||
| record.js | ||
| run-files-lifecycle-model.js | ||
| run-files-model.js | ||
| runtimeEnv.ts | ||
| start-server-cluster.js | ||
| start-server.js | ||
| tool-approval-hook.js | ||
| user.ts | ||
| users.email.ts | ||
| users.mock.ts | ||