Commit graph

76 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
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
Partha
9ac154d2a0
feat: Add OpenRouter Provider Support with Dynamic Model Loading (#8738)
* Add OpenRouter provider configuration to Add Model Form

* feat: add search functionality to model selection listbox

* Update gui/src/components/modelSelection/ModelSelectionListbox.tsx

ai suggestion

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* fix: update isOpenSource determination based on hugging_face_id

* Trigger CI/CD

* refactor: propery cleanup openrouter

* feat: add initialization function for OpenRouter models

- Replaced the import of openRouterModelsList with getOpenRouterModelsList.
- Added a new function `initializeOpenRouterModels` to fetch and initialize OpenRouter models from the API.
- Updated the providers object with the fetched models upon successful retrieval.
- Added error handling to reset the models list in case of a fetch failure.

* feat: enhance OpenRouter model initialization with loading placeholder and effect hook

* fix: openrouter model fetching cleanup

* fix: open router model fetching cleanup

* lint: cli

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2026-02-02 21:59:44 -08:00
Ahmed khaled
3f61af520d
feat(assets): add Xiaomi MiMo logo 2026-01-05 03:22:50 +02:00
TensorNull
bcd4981660
Merge branch 'main' into feat/cometapi 2025-09-24 10:26:16 +08:00
Tomasz Iniewicz
ca2a5d7f29
Lemonade Integration (#7749) 2025-09-17 10:15:33 -07:00
TensorNull
712d1241fb feat: Add CometAPI as a model provider 2025-09-17 23:04:09 +08: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
jhpiedrahitao
94cd063fbf update sambanova logo 2025-07-08 13:25:17 -05:00
Nate
9e01f688b1 Merge branch 'main' into venice 2025-04-29 13:01:19 -07:00
Nate
a9ec23896f Merge branch 'main' into venice 2025-04-29 12:52:20 -07:00
Nate
075e7cca2a Merge branch 'main' into ovhcloud/add-ai-endpoints-llms 2025-04-29 12:00:33 -07:00
Lucien Loiseau
0e4f17280b add OVHcloud AI Endpoints provider
OVHcloud AI Endpoints is a serverless inference API that provides
access to a curated selection of models (e.g., Llama, Mistral, Qwen,
Deepseek). It is designed with security and data privacy in mind
and is compliant with GDPR.

This commit adds OVHcloud AI Endpoint as a listed provider and makes
the appropriate connection to the supported models.
2025-04-09 10:27:43 +02:00
Nate
ec8af0e49a update image name 2025-04-02 19:06:58 -07:00
Nate
a7f70484a8 Merge branch 'main' into inceptionlabs-provider 2025-04-02 18:52:45 -07:00
Chad Metcalf
27734d4173
Add InceptionLabs provider
- Added InceptionLabs LLM provider integration
- Extended OpenAI class for Inception Labs-specific functionality
- Set up default options for Mercury models
- Added logo for Inception Labs in the UI
- Added model mappings for Mercury models (small, medium, large)
- Added support for different API endpoints based on model selection
- Created modelInfo structure to map models to their API endpoints
- Fixed handling for mercury-mini (zaragoza endpoint) and mercury-small (copenhagen endpoint)
- Updated model listing to return models from both endpoints
- Improved constructor to handle both friendly names and direct model names
2025-04-02 16:51:57 -07:00
Chad Metcalf
5afe552aa5
Add Docker model provider integration
Adds a new LLM provider for Docker Desktop's Model Runner feature, which
allows running local AI models with Docker. The implementation builds on
the existing OpenAI provider, since Docker Model Runner offers an
OpenAI-compatible API endpoint.

Features:
- Implementation of Docker provider extending OpenAI provider
- Support for listing and installing models via Docker CLI
- Added Docker logo for the UI
- ModelInstaller interface implementation
2025-04-02 15:22:14 -07:00
Patrick Erichsen
3e85b517af Merge branch 'main' into s-inline-keyboard-shortcuts 2025-03-03 18:59:15 -08:00
Jorge Piedrahita Ortiz
a0c1285c54
Merge branch 'continuedev:main' into snova-jorgep/fix-sambanova-models 2025-02-25 17:19:18 -05:00
jhpiedrahitao
908410b294 update sambanova models lists 2025-02-25 17:18:14 -05:00
Vinay Maniam
ebc29f54c5 added ncompass logo 2025-02-24 18:04:47 +00:00
henry
1b693012a0 added venice support 2025-02-15 20:42:02 -06:00
prakashsharma91
d18518228b Correct or add chat model icons 2025-02-06 17:37:00 +05:30
vercelInfrAI
7749349f89 feat: replace logo and deepseek model base info 2025-02-05 15:01:35 +08:00
Sherman Boyd
86f14f4ab4 Use JetBrains Mono for single character keycaps. Monospaced fonts make key caps consistent. JetBrains Mono is modern and clear. 2025-02-03 17:29:39 -07:00
Sherman Boyd
0fb3c8cbd1 Create a Shortcut component to style keyboard shortcuts 2025-02-03 16:25:47 -07:00
vercel
ad0fdb988b feat: fix version and address 2024-12-24 14:19:48 +08:00
Thibault Genaitay
ffa382d3a1 Add Scaleway in Continue GUI 2024-12-11 11:12:20 +01:00
Anoyi
f357f8a5ef
Merge branch 'continuedev:main' into main 2024-12-03 10:29:05 +08:00
Big Boss
e2228fedf5
Add Function Network provider 2024-11-29 15:45:26 -06:00
Anoyi
233c73aff6 Add more models provided by siliconflow 2024-11-29 16:11:13 +08:00
Anoyi
2fc547a4c8 Optimizing AI logos 2024-11-28 17:30:48 +08:00
burlinchen
7ffb95e9d0 feat: integrate Moonshot AI model provider and update UI translations 2024-11-18 19:05:07 +08:00
Vadim Zhamkov
d8139939d2 Fix and improve Nebius provider. Add LLMs and descriptions 2024-11-12 00:35:32 +01:00
Dallin Romney
3ea079c23e better xAI logo 2024-11-05 18:11:14 -08:00
Dallin Romney
f7b7b04656 add xAI logo 2024-11-05 18:02:27 -08:00
Nate Sesti
c740cbe5f4
Merge branch 'dev' into nebius 2024-10-31 12:18:53 -07:00
Luke Lashley
25d9e72b19 Merge branch 'dev' into code-gecko 2024-10-30 16:22:49 -04:00
Vadim Zhamkov
9fc556c3ed Add Nebius provider 2024-10-30 17:47:23 +01:00
Nate Sesti
600c8359d7
Merge pull request #2706 from mark-espinoza/llm-provider-Ask-Sage
Adding LLM Provider Ask Sage
2024-10-29 12:00:27 -07:00
Luke Lashley
ac987b836e
Merge branch 'dev' into code-gecko 2024-10-26 23:28:32 -04:00
Mark Espinoza
ffcdc2a329 Initial Commit 2024-10-25 15:54:33 -05:00
Dallin Romney
62065834d3 add chat model form styling 2024-10-24 17:47:37 -07:00
Luke Lashley
9be15f7e8a Refactor VertexAI 2024-10-23 17:50:25 -04:00
Sahand Sojoodi
c8ce3df4aa Fixes to support Cerebras Llama3.1 8b and 70b 2024-10-08 19:58:44 -04:00
Tuowen Zhao
14158a5c58 [LLM] add sambanova cloud 2024-09-08 15:39:46 -07:00
NoeSamaille
4cfece2b84 Fixes watsonx branding & Adds software support
Signed-off-by: NoeSamaille <noe.samaille@ibm.com>
2024-08-20 16:34:12 +02:00
Nate Sesti
81089726ec support for granite models 2024-08-02 11:12:27 -07:00
RAJPAL BOOPATHI
5b82c1be7a Implemented WatsonX LLM provider 2024-08-02 18:42:57 +05:30
Nate Sesti
9eea0a76c9 Remove unused images 2024-07-13 10:14:54 -07:00