mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-20 09:24:10 +01:00
- Updated `resolveJsonSchemaRefs` to prevent `` and `definitions` from appearing in the resolved output, ensuring compatibility with LLM APIs. - Improved `normalizeJsonSchema` to strip vendor extension fields (e.g., `x-*` prefixed keys) and leftover ``/`definitions` blocks, enhancing schema normalization for Google/Gemini API. - Added comprehensive tests to validate the stripping of ``, vendor extensions, and proper normalization across various schema structures. |
||
|---|---|---|
| .. | ||
| auth.test.ts | ||
| ConnectionsRepository.test.ts | ||
| detectOAuth.integration.dev.ts | ||
| handler.test.ts | ||
| mcp.spec.ts | ||
| MCPConnection.test.ts | ||
| MCPConnectionFactory.test.ts | ||
| MCPManager.test.ts | ||
| parsers.test.ts | ||
| tokens.test.ts | ||
| utils.test.ts | ||
| zod.spec.ts | ||