mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-11 08:43:48 +00:00
Fixed an issue where memory agents would fail with 'Provider Ollama not supported' error when using Ollama as a custom endpoint. The getCustomEndpointConfig function was only normalizing the endpoint config name but not the endpoint parameter during comparison. Changes: - Modified getCustomEndpointConfig to normalize both sides of the endpoint comparison - Added comprehensive test coverage for getCustomEndpointConfig including: - Test for case-insensitive Ollama endpoint matching (main fix) - Tests for various edge cases and error handling This ensures that endpoint name matching works correctly for Ollama regardless of case sensitivity in the configuration. |
||
|---|---|---|
| .. | ||
| AppService.interface.spec.ts | ||
| AppService.spec.ts | ||
| cdn.ts | ||
| checks.spec.ts | ||
| checks.ts | ||
| config.test.ts | ||
| config.ts | ||
| index.ts | ||
| limits.ts | ||
| permissions.spec.ts | ||
| permissions.ts | ||