Changesets · Branches · Tags · Compare
| Changeset | 27a6a4517a3b40d069e10a464437ffe678c08d5cb4d975302a2796687119a12e |
|---|---|
| Author | Erica Hughberg <erica.sundberg.90@gmail.com> · 2025-09-09 12:05 -04:00 |
| Committer | GitHub <noreply@github.com> · 2025-09-09 09:05 -07:00 |
| Parents | 174c272aba6c |
6 files changed
added docs/customize/model-providers/assets/tetrate-remix.png +0 −0
Binary content is not shown. View the file.
deleted docs/customize/model-providers/more/tetrate_agent_router_service.mdx +0 −44
| @@ -1,44 +0,0 @@ | ||
| 1 | ---- | |
| 2 | -title: "Tetrate Agent Router Service" | |
| 3 | ---- | |
| 4 | - | |
| 5 | -The Tetrate Agent Router Service (TARS) provides a unified API gateway for accessing various AI models with fast inference capabilities. TARS acts as an intelligent router that can distribute requests across multiple model providers, offering enterprise-grade reliability and performance optimization. | |
| 6 | - | |
| 7 | -## Getting Started | |
| 8 | - | |
| 9 | -1. Obtain an API key from the [Tetrate Agent Router Service portal](https://api.router.tetrate.ai/) | |
| 10 | -2. Configure Continue to use TARS as your model provider | |
| 11 | - | |
| 12 | -## Configuration | |
| 13 | - | |
| 14 | -Update your Continue configuration file (`~/.continue/config.json` or `~/.continue/config.yaml`) with your TARS API key: | |
| 15 | - | |
| 16 | -<Tabs> | |
| 17 | - <Tab title="YAML"> | |
| 18 | - ```yaml title="config.yaml" | |
| 19 | - models: | |
| 20 | - - name: TARS GPT-5 Mini | |
| 21 | - provider: tars | |
| 22 | - model: gpt-5-mini | |
| 23 | - apiKey: <YOUR_TARS_API_KEY> | |
| 24 | - ``` | |
| 25 | - </Tab> | |
| 26 | - <Tab title="JSON"> | |
| 27 | - ```json title="config.json" | |
| 28 | - { | |
| 29 | - "models": [ | |
| 30 | - { | |
| 31 | - "title": "TARS GPT-5 Mini", | |
| 32 | - "provider": "tars", | |
| 33 | - "model": "gpt-5-mini", | |
| 34 | - "apiKey": "<YOUR_TARS_API_KEY>" | |
| 35 | - } | |
| 36 | - ] | |
| 37 | - } | |
| 38 | - ``` | |
| 39 | - </Tab> | |
| 40 | -</Tabs> | |
| 41 | - | |
| 42 | -## Available Models | |
| 43 | - | |
| 44 | -TARS supports routing to various models. Go to the [Tetrate Agent Router Service model catalog](https://router.tetrate.ai/models) for a full list of supported models. |
modified docs/customize/model-providers/overview.mdx +1 −0
| @@ -33,6 +33,7 @@ | ||
| 33 | 33 | | [Together AI](/customize/model-providers/more/together) | Platform for running a variety of open models | |
| 34 | 34 | | [DeepInfra](/customize/model-providers/more/deepinfra) | Hosting for various open source models | |
| 35 | 35 | | [OpenRouter](/customize/model-providers/top-level/openrouter) | Gateway to multiple model providers | |
| 36 | +| [Tetrate Agent Router Service](/customize/model-providers/top-level/tetrate_agent_router_service) | Gateway with intelligent routing across multiple model providers | | |
| 36 | 37 | | [Cohere](/customize/model-providers/more/cohere) | Models specialized for semantic search and text generation | |
| 37 | 38 | | [NVIDIA](/customize/model-providers/more/nvidia) | GPU-accelerated model hosting | |
| 38 | 39 | | [Cloudflare](/customize/model-providers/more/cloudflare) | Edge-based AI inference services | |
modified docs/customize/model-providers/top-level/openai.mdx +4 −3
| @@ -30,7 +30,7 @@ | ||
| 30 | 30 | "models": [ |
| 31 | 31 | { |
| 32 | 32 | "title": "<MODEL_NAME>", |
| 33 | - "provider": "openai", | |
| 33 | + "provider": "openai", | |
| 34 | 34 | "model": "<MODEL_ID>", |
| 35 | 35 | "apiKey": "<YOUR_OPENAI_API_KEY>" |
| 36 | 36 | } |
| @@ -56,6 +56,7 @@ | ||
| 56 | 56 | - [TensorRT-LLM](https://github.com/NVIDIA/trt-llm-as-openai-windows?tab=readme-ov-file#examples) |
| 57 | 57 | - [vLLM](https://docs.vllm.ai/en/latest/serving/openai_compatible_server.html) |
| 58 | 58 | - [BerriAI/litellm](https://github.com/BerriAI/litellm) |
| 59 | +- [Tetrate Agent Router Service](https://router.tetrate.ai) | |
| 59 | 60 | |
| 60 | 61 | If you are using an OpenAI API compatible providers, you can change the `apiBase` like this: |
| 61 | 62 | |
| @@ -75,7 +76,7 @@ | ||
| 75 | 76 | { |
| 76 | 77 | "models": [ |
| 77 | 78 | { |
| 78 | - "title": "<OPENAI_API_COMPATIBLE_PROVIDER_MODEL>", | |
| 79 | + "title": "<OPENAI_API_COMPATIBLE_PROVIDER_MODEL>", | |
| 79 | 80 | "provider": "openai", |
| 80 | 81 | "model": "<MODEL_NAME>", |
| 81 | 82 | "apiKey": "<YOUR_CUSTOM_API_KEY>", |
| @@ -110,7 +111,7 @@ | ||
| 110 | 111 | "title": "<OPENAI_API_COMPATIBLE_PROVIDER_MODEL>", |
| 111 | 112 | "provider": "openai", |
| 112 | 113 | "model": "<MODEL_NAME>", |
| 113 | - "apiBase": "http://localhost:8000/v1", | |
| 114 | + "apiBase": "http://localhost:8000/v1", | |
| 114 | 115 | "useLegacyCompletionsEndpoint": true |
| 115 | 116 | } |
| 116 | 117 | ] |
added docs/customize/model-providers/top-level/tetrate_agent_router_service.mdx +83 −0
| @@ -0,0 +1,83 @@ | ||
| 1 | +--- | |
| 2 | +title: "Tetrate Agent Router Service" | |
| 3 | +sidebarTitle: "Tetrate Agent Router Service" | |
| 4 | +slug: ../tetrate-agent-router-service | |
| 5 | +--- | |
| 6 | + | |
| 7 | +The **Tetrate Agent Router Service** provides a unified Gateway for accessing various AI models with fast inference capabilities as well as embedding services. | |
| 8 | + | |
| 9 | +This gateway acts as an intelligent router that can distribute requests across multiple model providers, offering enterprise-grade reliability and performance optimization. | |
| 10 | + | |
| 11 | +## Getting Started | |
| 12 | + | |
| 13 | +1. Obtain an API key from the [Agent Router Service portal](https://api.router.tetrate.ai/) | |
| 14 | +2. Configure Continue to use Agent Router Service as your model provider | |
| 15 | + | |
| 16 | +## Configuring Models | |
| 17 | + | |
| 18 | +You can also quickly use models from Tetrate on the Cotninue Hub by visiting Tetrate on the Continue Hub [here](https://hub.continue.dev/tetrate). The easiest way if you don't see the model you want to use is to remix one of the models on the Tetrate page and change the model to the one you want to use. | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | +### Available Models | |
| 23 | + | |
| 24 | +Agent Router Service supports routing to various models. | |
| 25 | +Go to the [Agent Router Service model catalog](https://router.tetrate.ai/models) for a full list of supported models. | |
| 26 | + | |
| 27 | +## Configuration Options | |
| 28 | + | |
| 29 | +As Agent Router Service is an OpenAI API compatible provider, you can configure it like any other OpenAI API compatible provider. Therefore you will be setting `provider: openai` and `apiBase: https://api.router.tetrate.ai/v1`. | |
| 30 | + | |
| 31 | +Update your Continue configuration file (`~/.continue/config.yaml`) with your Agent Router Service API key: | |
| 32 | + | |
| 33 | +### On your local machine | |
| 34 | + | |
| 35 | +#### In your config.yaml | |
| 36 | + | |
| 37 | +```yaml title="config.yaml" | |
| 38 | +models: | |
| 39 | + - name: <MODEL_NAME> | |
| 40 | + provider: openai | |
| 41 | + model: <MODEL_ID> | |
| 42 | + apiKey: <TETRATE_API_KEY> | |
| 43 | + apiBase: https://api.router.tetrate.ai/v1 | |
| 44 | +``` | |
| 45 | + | |
| 46 | +#### As a local model block | |
| 47 | + | |
| 48 | +Review the configuration reference for [model blocks](/reference#models) and using [local blocks](/reference#local-blocks). Ensure you look at the roles and capabilities section and review the [model capabilities guide](/customize/deep-dives/model-capabilities). | |
| 49 | + | |
| 50 | +```yaml title="model_name.yaml" | |
| 51 | + name: <MODEL_NAME> | |
| 52 | + models: | |
| 53 | + - name: <MODEL_NAME> | |
| 54 | + provider: openai | |
| 55 | + model: <MODEL_ID> | |
| 56 | + apiKey: ${{ inputs.TETRATE_API_KEY }} | |
| 57 | + apiBase: https://api.router.tetrate.ai/v1 | |
| 58 | + roles: | |
| 59 | + - chat | |
| 60 | + - edit | |
| 61 | + - apply | |
| 62 | + capabilities: | |
| 63 | + - tool_use | |
| 64 | +``` | |
| 65 | + | |
| 66 | +### On Model Block on Continue Hub | |
| 67 | +Learn how to use model blocks on Continue Hub [here](/hub/blocks/create-a-block). | |
| 68 | + | |
| 69 | +```yaml title="model_name.yaml" | |
| 70 | + name: <MODEL_NAME> | |
| 71 | + models: | |
| 72 | + - name: <MODEL_NAME> | |
| 73 | + provider: openai | |
| 74 | + model: <MODEL_ID> | |
| 75 | + apiKey: ${{ inputs.TETRATE_API_KEY }} | |
| 76 | + apiBase: https://api.router.tetrate.ai/v1 | |
| 77 | + roles: | |
| 78 | + - chat | |
| 79 | + - edit | |
| 80 | + - apply | |
| 81 | + capabilities: | |
| 82 | + - tool_use | |
| 83 | +``` |
modified docs/docs.json +1 −0
| @@ -117,6 +117,7 @@ | ||
| 117 | 117 | "customize/model-providers/top-level/ollama", |
| 118 | 118 | "customize/model-providers/top-level/openrouter", |
| 119 | 119 | "customize/model-providers/top-level/openai", |
| 120 | + "customize/model-providers/top-level/tetrate_agent_router_service", | |
| 120 | 121 | "customize/model-providers/top-level/vertexai" |
| 121 | 122 | ] |
| 122 | 123 | }, |