Roo-Code/src/api/providers
Daniel 02a4823250
fix: mark unused Ollama schema properties as optional (#5014)
fix: handle null families field in Ollama model details schema

- Updated OllamaModelDetailsSchema to make families field nullable and optional
- Made all unused properties optional in Ollama schemas to prevent validation errors
- Added test cases to verify handling of null families field
- Only required properties that are actually used in the code are now mandatory
- Fixes Zod validation error when Ollama returns null for families array
2025-06-22 10:55:16 -04:00
..
__tests__ Farewell jest (#4607) 2025-06-16 21:39:45 -07:00
fetchers fix: mark unused Ollama schema properties as optional (#5014) 2025-06-22 10:55:16 -04:00
anthropic-vertex.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
anthropic.ts Yield the cost in usage data for Anthropic (#4849) 2025-06-18 11:59:11 -07:00
base-openai-compatible-provider.ts feat: Add DeepSeek R1 support to Chutes provider (#4523) (#4525) 2025-06-12 11:39:41 -04:00
base-provider.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
bedrock.ts Reapply reasoning for bedrock with fix (#4645) 2025-06-13 11:07:27 -04:00
chutes.ts feat: Add DeepSeek R1 support to Chutes provider (#4523) (#4525) 2025-06-12 11:39:41 -04:00
constants.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
deepseek.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
fake-ai.ts Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
gemini.ts Add gemini pro 06 05 (#4386) 2025-06-05 17:49:12 -04:00
glama.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
groq.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
human-relay.ts Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
index.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
lite-llm.ts Run prettier on src/ (#4221) 2025-06-01 22:56:47 -04:00
lm-studio.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
mistral.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
ollama.ts fix context length for lmstudio and ollama (#2462) (#4314) 2025-06-20 22:53:04 -04:00
openai-native.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
openai.ts Add max tokens checkbox option for OpenAI compatible provider (#4467) 2025-06-14 23:28:09 -04:00
openrouter.ts feat: add Gemini 2.5 models (Pro, Flash and Flash Lite) (#4798) 2025-06-17 16:36:37 -04:00
requesty.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
router-provider.ts Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
unbound.ts Add cache breakpoints for custom vertex models on Unbound (#4585) 2025-06-13 08:29:40 -04:00
vertex.ts Add gemini pro 06 05 (#4386) 2025-06-05 17:49:12 -04:00
vscode-lm.ts Move provider data into @roo-code/types (#4153) 2025-05-30 14:54:48 -07:00
xai.ts update xai models and pricing (#4315) 2025-06-12 11:59:45 -04:00