Elffuss BraidHub

kikocis/continue public

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>
Changeset27a6a4517a3b40d069e10a464437ffe678c08d5cb4d975302a2796687119a12e
AuthorErica Hughberg <erica.sundberg.90@gmail.com> · 2025-09-09 12:05 -04:00
CommitterGitHub <noreply@github.com> · 2025-09-09 09:05 -07:00
Parents174c272aba6c

Browse the files at this changeset

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 @@
3333 | [Together AI](/customize/model-providers/more/together) | Platform for running a variety of open models |
3434 | [DeepInfra](/customize/model-providers/more/deepinfra) | Hosting for various open source models |
3535 | [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 |
3637 | [Cohere](/customize/model-providers/more/cohere) | Models specialized for semantic search and text generation |
3738 | [NVIDIA](/customize/model-providers/more/nvidia) | GPU-accelerated model hosting |
3839 | [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 @@
3030 "models": [
3131 {
3232 "title": "<MODEL_NAME>",
33- "provider": "openai",
33+ "provider": "openai",
3434 "model": "<MODEL_ID>",
3535 "apiKey": "<YOUR_OPENAI_API_KEY>"
3636 }
@@ -56,6 +56,7 @@
5656 - [TensorRT-LLM](https://github.com/NVIDIA/trt-llm-as-openai-windows?tab=readme-ov-file#examples)
5757 - [vLLM](https://docs.vllm.ai/en/latest/serving/openai_compatible_server.html)
5858 - [BerriAI/litellm](https://github.com/BerriAI/litellm)
59+- [Tetrate Agent Router Service](https://router.tetrate.ai)
5960
6061 If you are using an OpenAI API compatible providers, you can change the `apiBase` like this:
6162
@@ -75,7 +76,7 @@
7576 {
7677 "models": [
7778 {
78- "title": "<OPENAI_API_COMPATIBLE_PROVIDER_MODEL>",
79+ "title": "<OPENAI_API_COMPATIBLE_PROVIDER_MODEL>",
7980 "provider": "openai",
8081 "model": "<MODEL_NAME>",
8182 "apiKey": "<YOUR_CUSTOM_API_KEY>",
@@ -110,7 +111,7 @@
110111 "title": "<OPENAI_API_COMPATIBLE_PROVIDER_MODEL>",
111112 "provider": "openai",
112113 "model": "<MODEL_NAME>",
113- "apiBase": "http://localhost:8000/v1",
114+ "apiBase": "http://localhost:8000/v1",
114115 "useLegacyCompletionsEndpoint": true
115116 }
116117 ]
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+![Remix a model from Tetrate on Continue Hub](../assets/tetrate-remix.png)
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 @@
117117 "customize/model-providers/top-level/ollama",
118118 "customize/model-providers/top-level/openrouter",
119119 "customize/model-providers/top-level/openai",
120+ "customize/model-providers/top-level/tetrate_agent_router_service",
120121 "customize/model-providers/top-level/vertexai"
121122 ]
122123 },