* fix: respect contextLength from YAML model config
Three fixes for contextLength not being respected:
1. Add contextLength to YAML model schema at the model level (not just
inside defaultCompletionOptions), matching JSON config behavior
2. Read contextLength from both model-level and defaultCompletionOptions,
with model-level taking precedence
3. Fix GUI selector fallback using DEFAULT_MAX_TOKENS (4096) instead of
DEFAULT_CONTEXT_LENGTH (32768)
Closes#4638Closes#4304
* fix: reduce complexity in modelConfigToBaseLLM
Replace find callbacks with includes() to offset complexity from
contextLength nullish coalescing.
* docs: document contextLength at model level in config.yaml reference
* docs: consistently show contextLength in defaultCompletionOptions for YAML
YAML examples use defaultCompletionOptions.contextLength, JSON examples
use model-level contextLength. Also fixes ollama guide using the wrong
key name (completionOptions -> defaultCompletionOptions).
* refactor: extract env options into helper to reduce complexity
Extract the repetitive env-to-options mapping from modelConfigToBaseLLM
into a separate applyEnvOptions function, bringing complexity well under
the limit of 36.
* feat: add MiniMax as a new LLM provider
Add MiniMax (https://platform.minimax.io) as a new LLM provider with
OpenAI-compatible API support.
Changes:
- Add MiniMax LLM provider class extending OpenAI with temperature
clamping (must be in (0, 1]) and response_format removal
- Register provider in LLMClasses, openai-adapters, and config-types
- Add model info for MiniMax-M2.5 and MiniMax-M2.5-highspeed
(204K context, 192K max output)
- Add GUI model selection entries and provider configuration
- Add provider documentation page
* fix: use dedicated MiniMaxApi adapter instead of generic OpenAIApi
The minimax provider was wired to the generic OpenAIApi via
openAICompatible(), which skips MiniMax-specific request fixes.
This creates a dedicated MiniMaxApi adapter class that overrides
modifyChatBody to apply temperature clamping (MiniMax requires
temperature in (0.0, 1.0]) and response_format removal, matching
the adaptations already present in core/llm/llms/MiniMax.ts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: upgrade MiniMax default model to M2.7
- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to model list
- Set MiniMax-M2.7 as default model
- Keep all previous models (M2.5, M2.5-highspeed) as alternatives
- Update docs and GUI model selection
* fix: add minimax to PROVIDER_HANDLES_TEMPLATING and PARALLEL_PROVIDERS
MiniMax uses an OpenAI-compatible chat completions API, so it handles
templating natively. MiniMax also supports parallel tool calls.
Not added to PROVIDER_SUPPORTS_IMAGES since MiniMax M2.7 is text-only.
* style: fix prettier formatting in MiniMax provider files
---------
Co-authored-by: PR Bot <pr-bot@minimaxi.com>
Co-authored-by: octo-patch <octo-patch@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
* feat: add Tensorix as an LLM provider
Adds Tensorix (https://tensorix.ai) as a new OpenAI-compatible
provider, giving users access to DeepSeek, Llama 4, Qwen, GLM,
and other models through a single API key.
Changes:
- New LLM class (core/llm/llms/Tensorix.ts)
- Registered in LLM index and config schema
- Added to VS Code extension config schema
- Added to GUI provider selection with AUTODETECT
* Fix missing commas in config_schema.json for tensorix entries
Co-authored-by: openhands <openhands@all-hands.dev>
* feat: address reviewer feedback for Tensorix provider
- Add tensorix to openai-adapters (types.ts + index.ts)
- Add tensorix to PROVIDER_HANDLES_TEMPLATING, PROVIDER_SUPPORTS_IMAGES,
and PARALLEL_PROVIDERS in autodetect.ts
- Add docs page for Tensorix under more providers
- Add tensorix to docs.json navigation
Co-authored-by: openhands <openhands@all-hands.dev>
---------
Co-authored-by: openhands <openhands@all-hands.dev>
* Add latest model definitions across providers
Add new models for OpenAI (gpt-4.1, gpt-5.2, codex-mini, o1/o3/o4-mini),
Gemini (2.5 stable, 2.5-flash-lite, 3-flash-preview), Mistral (devstral,
magistral, ministral, mistral-nemo), xAI (grok-4-fast, grok-4-1-fast,
grok-3-fast), and Bedrock (Claude 4.5/4.6, Nova, Llama 4, DeepSeek).
Update tool support and reasoning detection for the new model families.
* Add Z.ai (GLM) provider, Kimi K2/K2.5 models, and fix OpenRouter tool support bug
- Add Z.ai as a new provider with GLM-5, GLM-4.7, GLM-4-plus, GLM-4.5 models
- Add Kimi K2 and K2.5 model packages to Moonshot provider
- Fix variable shadowing bug in OpenRouter tool support where loop
variables shadowed the outer model parameter, causing specificModels
and supportedContains checks to always return true
- Add moonshotai/kimi and zai-org/glm to OpenRouter supported prefixes
- Add Z.ai and Moonshot to docs navigation
* Clean up unnecessary import aliases for zAI
* Add Z.ai Coding Plan endpoint note to docs
* Replace placeholder zai.png icon with proper zAI.svg
* Add zAI provider to openai-adapters
* Fix Z.ai API key URL
- Add Nous.ts LLM provider extending OpenAI
- Add Hermes 3 and Hermes 4 model entries (70B, 405B, 36B variants)
- Add Nous to providers list with API base configuration
- Add Hermes detection for ChatML template in autodetect
- Add Nous to PROVIDER_HANDLES_TEMPLATING
- Add documentation page for Nous Research
Amp-Thread-ID: https://ampcode.com/threads/T-019c0611-a43c-764f-83a5-b91821140566
Co-authored-by: Amp <amp@ampcode.com>
Standardize header capitalization across documentation to follow
title case conventions (capitalize major words like nouns, verbs,
adjectives; keep minor words lowercase).
Changes include:
- Model provider docs: "Chat model" → "Chat Model", etc.
- Plan mode docs: "Understanding Plan mode" → "Understanding Plan Mode"
- CLI docs: "Quick start" → "Quick Start", "Next steps" → "Next Steps"
- Guide docs: various headers fixed for consistency
- Also fixed typo: "Availible models" → "Available Models"
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Extends PR #8961 to cover model provider docs, model role docs,
deep dive guides, and other documentation files that were missing
the required name, version, and schema fields in their config.yaml
examples.
This ensures all YAML examples throughout the documentation are
valid and prevent schema validation errors for users.
Co-authored-by: nate <nate@continue.dev>
Generated with [Continue](https://continue.dev)
Co-Authored-By: Continue <noreply@continue.dev>
* feat: enhance AskSage with new request handling and token management
* feat: update provider options and add new Ask Sage models
* feat: update Ask Sage model configurations and remove deprecated API Base URL input
* feat: update package versions and add @anthropic-ai/sdk dependency
* feat: update model titles and modify API base URL handling in provider configuration
* feat: update Ask Sage documentation and add to navigation
* Update gui/src/pages/AddNewModel/configs/providers.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
* remove outdated pages and references to them
* change telemetry to a page instead of a directory with one page
* fix duplicate redirects
* remove vs code actions docs and references
* update hub introduction
* deprecate some context providers
* initial codebase and documentation guide
* replace context provider with MCP in custom code RAG
* deprecate @docs and @codebase
* remove context, docs, data blocks
* move context providers to deep dives
* move custom providers
* remove "blocks"
* remove rules "block"
* update popular providers
* cleanup before review
* updating more providers
* improve model reccs
* fix broken links
* add models links
* cleaning up models details
* move agent to first in list
* remove outdated descriptions
* reorder referene section
* update block types
* adjust model config example
* fix tabs for yaml / json
---------
Co-authored-by: Brian 'bdougie' Douglas <brian@dinnerpeople.app>
* docs: add model capabilities guide and update provider documentation
- Add new model-capabilities.mdx deep dive guide
- Update OpenRouter provider documentation
- Update Ollama provider documentation
- Update reference documentation
- Update troubleshooting documentation
* docs: add model-capabilities to navigation menu
- Add model-capabilities.mdx to deep-dives section in docs.json
* docs: add model compatibility matrix to model capabilities guide
- Add comprehensive compatibility matrix for popular models
- Include OpenAI, Anthropic, Google, Mistral, DeepSeek, and Ollama models
- Document feature support for Chat, Apply, Edit, Tool Use, and Image Input
- Add GitHub edit link for community contributions
* docs: refactor troubleshooting content for model capabilities
* docs: improve model capabilities guide formatting and structure
- Remove migration section reference to non-existent page
- Align table headers with left alignment for better readability
- Clean up document structure by removing broken cross-reference
* fix: remove css fix
* docs: update model capabilities and setup documentation
- Enhanced model capabilities documentation with more detailed explanations
- Added model setup information across agent, autocomplete, chat, and edit features
- Improved documentation structure and clarity for better user understanding
* docs: add more context to model setup bdougie/con-3178
* fix: update naming
* fix: response to pr review
* Update docs/customize/deep-dives/model-capabilities.mdx
Co-authored-by: BekahHW <34313413+BekahHW@users.noreply.github.com>
* Update docs/customize/deep-dives/model-capabilities.mdx
Co-authored-by: BekahHW <34313413+BekahHW@users.noreply.github.com>
* Update docs/customize/model-providers/top-level/ollama.mdx
Co-authored-by: BekahHW <34313413+BekahHW@users.noreply.github.com>
* fix: remove note
* docs: clarify model capabilities configuration and detection
* fix: update columns
---------
Co-authored-by: BekahHW <34313413+BekahHW@users.noreply.github.com>