Fix: #69 local model server failure#71
Merged
Merged
Conversation
- Fix Claude model IDs to use dots instead of dashes (4.5 not 4-5) - Remove non-existent GPT models (5.2-thinking, 5.2-instant) - Add GPT-4o as reliable fallback model - Fix DeepSeek model ID to use correct free tier variant - Update Claude Sonnet 4.5 context limit to 1M (actual value) - All models now use verified OpenRouter API model IDs
- Remove all tool passing to AI SDK since built-in tools from JSON don't have proper Zod validation - Tools are now processed server-side only, avoiding zod-to-json-schema conversion errors - This prevents 'Cannot read properties of undefined (reading "typeName")' errors - Functionality is maintained through server-side tool processing (MCP + built-in tools)
…ndows - Add useLocalProviders hook that detects running Ollama and LMStudio instances - Automatically enable detected local providers in settings - Improve Ollama provider with proper context window calculation based on model size - Fix updateProviderSettings function signature for correct type handling - Local models now appear in provider/model selectors when available Closes issues with local model detection and context window limits.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#69
What was fixed:
✅ Improved Ollama Provider
Problem: Hardcoded 8000 token limits regardless of actual model capabilities.
Solution:
✅ Fixed Provider Settings Management
Problem: Type errors in the provider settings update function.
Solution:
✅ Model Selector Integration
Problem: Detected local providers weren't showing up in the UI selectors.
Solution: