Commit graph

43 commits

Author SHA1 Message Date
1bcMax
becda53a17
feat: add ClawRouter as a provider for cost-optimized model routing (#11751)
* feat: add ClawRouter as a provider for cost-optimized model routing

ClawRouter is an open-source LLM router that automatically selects the
cheapest capable model for each request based on prompt complexity,
providing 78-96% cost savings on blended inference costs.

Changes:
- Add ClawRouterApi class extending OpenAI adapter
- Add 'clawrouter' provider to the type system
- Add ClawRouter models (auto, free, eco)
- Add ClawRouter provider config with UI setup
- Add ClawRouter logo
- Add documentation (clawrouter.mdx)

Closes #10843

* docs: enhance ClawRouter documentation

- Add ClawRouter to providers overview
- Expand documentation with:
  - Model capabilities configuration
  - Multiple roles setup
  - Troubleshooting section
  - Cost monitoring
  - Comparison with OpenRouter
  - Complexity dimensions explanation

* feat: add ClawRouter to core/llm/llms

- Add ClawRouter.ts extending OpenAI base class
- Register ClawRouter in llms/index.ts

* feat: add User-Agent headers for ClawRouter integration tracking

- Add 'User-Agent: Continue/IDE' header to identify Continue requests
- Add 'X-Continue-Provider: clawrouter' header for routing analytics
- Enhanced documentation with features list

This helps ClawRouter optimize routing decisions based on integration
source and enables better analytics for the Continue community.

* feat: complete ClawRouter integration with full provider support

- Add clawrouter to PROVIDER_HANDLES_TEMPLATING (autodetect.ts)
- Add clawrouter to PROVIDER_SUPPORTS_IMAGES (autodetect.ts)
- Add clawrouter tool support function (toolSupport.ts)
- Add supportsReasoningField and supportsReasoningDetailsField
- Add promptTemplates with osModelsEditPrompt
- Match OpenRouter implementation patterns

* feat: add ClawRouter to VS Code schema, docs nav, and AI SDK

- Add clawrouter to VS Code config_schema.json provider enum
- Add ClawRouter description in config_schema.json
- Add clawrouter to docs.json navigation (top-level providers)
- Add clawrouter to AI SDK PROVIDER_MAP

* docs: add wallet setup and x402 payment documentation

- Add Wallet & Payment Setup section to clawrouter.mdx
- Document payment tiers (free/eco/auto)
- Add wallet funding instructions (Solana/Base USDC)
- Add spend control configuration
- Update VS Code schema description with wallet info
- Update provider longDescription with payment options

* feat: add premium tier and enhanced ClawRouter features

- Add blockrun/premium routing profile (mission-critical tasks)
- Add dual-chain wallet support docs (Base EVM + Solana)
- Add model exclusion documentation
- Update routing profiles table with savings percentages
- Update comparison table with auth/payment differences
- Total 44+ models, 4 routing tiers

* test: add ClawRouter unit tests

- Add ClawRouter.vitest.ts (core/llm/llms)
  - Provider name verification
  - Default options validation
  - Reasoning field support
  - User-Agent header verification
  - Routing profiles acceptance

- Add ClawRouter.test.ts (openai-adapters)
  - Default apiBase
  - Custom apiBase override
  - Continue headers
  - OpenAI standard headers

- Add clawrouter tests to toolSupport.test.ts
  - blockrun/* routing profiles
  - Tool-supporting model patterns

* docs: add routing profile switching and enhanced error handling docs

- Add 'Switching Between Routing Profiles' section with full examples
- Add /model command tip for quick switching
- Add 'Error Handling' section comparing Continue vs ClawRouter
- Document automatic error recovery (429, 402, 500+, timeout)
- Add response header documentation for diagnostics
- Add AI-powered doctor command for troubleshooting

* fix: address PR review feedback - move docs to /more, resize logo, add provider constants, fix docs example

* fix: replace clawrouter logo with higher-res brand kit version (128x128)
2026-03-26 10:26:12 -07:00
Dallin Romney
d6259a7304
fix: respect contextLength from YAML model config (#11807)
* 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 #4638
Closes #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.
2026-03-25 12:26:52 -07:00
Octopus
4714bae00a
feat: add MiniMax as a new LLM provider with M2.7 default (#11367)
* 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>
2026-03-24 13:06:19 -07:00
shanemort1982
19c3f35831
feat: add Tensorix as an LLM provider (#11184)
* 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>
2026-03-19 16:29:45 -07:00
Dallin Romney
a2c1fe6897
feat: model updates and + z.ai (#10638)
* 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
2026-02-20 00:35:44 -08:00
Nate
71cd34b1bb docs updates 2026-02-16 13:19:21 -08:00
Dallin Romney
437ac08acf
Merge pull request #9989 from Aboozle1/main
feat: add Nous Research Hermes models as provider
2026-02-02 22:43:15 -08:00
Dallin Romney
03e5fc3b92 chore: hub.continue.dev -> continue.dev 2026-01-30 15:47:00 -08:00
Abhaykhanna3
1ba9a669d6
feat: add Nous Research Hermes models as provider
- 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>
2026-01-28 15:48:41 -05:00
Dallin Romney
5f370df867
Merge branch 'main' into ovhcloud/update-models-and-tool-calling 2026-01-25 22:16:10 -08:00
alex-mcgraw-askSage
1393d28d29
Update docs/customize/model-providers/more/asksage.mdx
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-01-21 10:17:19 -06:00
alex-mcgraw-askSage
326d57c51e
Update asksage.mdx
Added a section for how to set up Continue CLI with Ask Sage models.
2026-01-21 09:17:24 -06:00
Elias TOURNEUX
a6e5ef405c
feat: Edit documentation 2026-01-19 10:43:28 -05:00
Nate
4762623549 docs: fix title case in documentation headers
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>
2026-01-14 19:00:37 -08:00
Ahmed khaled
d617dfd983
git commit -m "feat(new model): adding MiMo-V2-Flash" 2026-01-03 05:55:37 +02:00
burtenshaw
0e291f0d49 Merge branch 'main' into update-hf-inference 2025-12-04 11:06:11 +01:00
Dallin Romney
23b359aab0 fix: my config not myproject 2025-12-02 13:17:05 -08:00
continue[bot]
f757c40332 docs: add required fields to all remaining YAML config.yaml examples
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>
2025-12-01 23:59:16 +00:00
burtenshaw
85e052ccec move in menu and update filename 2025-11-27 14:19:20 +01:00
burtenshaw
cbdeb17fe9 update inference on hf to latest offerings 2025-11-27 14:11:36 +01:00
uinstinct
ec9629307e docs: correct /explore page links to /hub 2025-11-20 17:37:53 +05:30
Patrick Erichsen
7ec2d236a5 chore: hub links 2025-11-06 17:09:37 -08:00
Mark Espinoza
03598ea26d
fix: LLM Provider - Ask Sage: Updated Model list, updated docs and fixed drop down menu option (#8102)
* 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>
2025-10-08 07:23:06 -07:00
Dallin Romney
83651df7ce fix: cubic feedback 2025-09-23 17:34:04 -07:00
Dallin Romney
1e3bf050d2 feat: grok model additions 2025-09-23 14:08:17 -07:00
Jorge Piedrahita Ortiz
ee1905290b
fix: Update sambanova models (#7901)
* update sambanova models

* fmt
2025-09-22 13:53:26 -07:00
Tomasz Iniewicz
ca2a5d7f29
Lemonade Integration (#7749) 2025-09-17 10:15:33 -07:00
Erica Hughberg
163174cc65
docs: properly add the tetrate agent router service documentation (#7624)
* updating tetrate agent router service provider information

Signed-off-by: Erica Hughberg <erica.sundberg.90@gmail.com>

* updating tetrate agent router service provider information

Signed-off-by: Erica Hughberg <erica.sundberg.90@gmail.com>

* updating tetrate agent router service provider information

Signed-off-by: Erica Hughberg <erica.sundberg.90@gmail.com>

* Update tetrate_agent_router_service.mdx

Co-authored-by: Brian Douglas <bdougie@users.noreply.github.com>

---------

Signed-off-by: Erica Hughberg <erica.sundberg.90@gmail.com>
Co-authored-by: Brian Douglas <bdougie@users.noreply.github.com>
2025-09-09 09:05:09 -07:00
John Landa
457195484a
feat: Add Tetrate Agent Router Service as a provider (#7136)
feat: Add TARS as a provider

Update gui with TARS provider

Change default model to gpt-5 mini
2025-08-29 13:11:17 -07:00
Ty Dunn
9f68638e32
docs: updates to reflect product simplifications (#7357)
* 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>
2025-08-28 15:33:07 -07:00
Brian 'bdougie' Douglas
bda12acd1c fix: replace the transform flag 2025-08-22 13:32:02 -07:00
Brian 'bdougie' Douglas
c4403e2ff4 fix: revert capabilities format to array syntax in OpenRouter docs 2025-08-22 10:38:18 -07:00
Brian 'bdougie' Douglas
cfe18467f0 Merge branch 'bdougie/con-3096' of github.com:continuedev/continue into bdougie/con-3096 2025-08-22 10:07:24 -07:00
Brian 'bdougie' Douglas
653c1bddb0 docs: better openrouter info 2025-08-22 09:54:19 -07:00
Brian 'bdougie' Douglas
7cbe228bb4 docs: better openrouter info 2025-08-22 08:15:47 -07:00
BekahHW
1704df4f1e
feat: GEO updates for docs (#7083) 2025-08-14 21:20:59 +01:00
Dallin Romney
c84f1cf114
Merge pull request #6949 from MarcoBFreitas/lmstudio-doc
docs: Add apiBase to remote instance config and standardize LM Studio page content
2025-08-05 13:44:36 -07:00
Dallin Romney
e829c706d1
Merge pull request #6950 from wukaixingxp/fix_llama_stack_links
fix:  llama-stack readme page link fix
2025-08-05 13:23:49 -07:00
Brian Douglas
33fa558969
docs: add model capabilities guide and update provider documentation with tool_use (#6901)
* 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>
2025-08-05 11:16:44 -07:00
Kai Wu
09f8917d9a fix_links 2025-08-04 11:54:35 -07:00
MarcoBFreitas
63922c5d5c Standardize page content as ollama.mdx 2025-08-04 19:25:59 +01:00
MarcoBFreitas
219b13a879 fix: Add apiBase to remote instance config 2025-08-04 19:25:29 +01:00
Brian 'bdougie' Douglas
efe9d45a72 s/docs2/docs 2025-07-10 13:34:36 -07:00