From 5fbbc006adb6762a1c78363b26f1f518116f6528 Mon Sep 17 00:00:00 2001 From: Riccardo Giorato Date: Wed, 28 Jan 2026 17:51:25 +0100 Subject: [PATCH] Update together.md --- docs/providers/together.md | 4 ++-- src/agents/models-config.providers.ts | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/providers/together.md b/docs/providers/together.md index 4c39910f1..02d4ccd12 100644 --- a/docs/providers/together.md +++ b/docs/providers/together.md @@ -7,7 +7,7 @@ read_when: # Together AI -The [Together AI](https://together.ai) provides access to leading open-source models including Llama, DeepSeek, Qwen, and more through a unified API. +The [Together AI](https://together.ai) provides access to leading open-source models including Llama, DeepSeek, Kimi, and more through a unified API. - Provider: `together` - Auth: `TOGETHER_API_KEY` @@ -60,6 +60,6 @@ Together AI provides access to many popular open-source models: - **Llama 4 Maverick** - Advanced vision and reasoning - **DeepSeek V3.1** - Powerful coding and reasoning model - **DeepSeek R1** - Advanced reasoning model -- **Qwen 2.5 72B** - Multilingual capabilities +- **Kimi K2 Instruct** - High-performance model with 262K context window All models support standard chat completions and are OpenAI API compatible. \ No newline at end of file diff --git a/src/agents/models-config.providers.ts b/src/agents/models-config.providers.ts index 1e1314c4e..a5df8e64e 100644 --- a/src/agents/models-config.providers.ts +++ b/src/agents/models-config.providers.ts @@ -13,7 +13,11 @@ import { SYNTHETIC_MODEL_CATALOG, } from "./synthetic-models.js"; import { discoverVeniceModels, VENICE_BASE_URL } from "./venice-models.js"; -import { TOGETHER_BASE_URL, TOGETHER_MODEL_CATALOG } from "./together-models.js"; +import { + TOGETHER_BASE_URL, + TOGETHER_MODEL_CATALOG, + buildTogetherModelDefinition, +} from "./together-models.js"; type ModelsConfig = NonNullable; export type ProviderConfig = NonNullable[string]; @@ -364,7 +368,7 @@ function buildTogetherProvider(): ProviderConfig { return { baseUrl: TOGETHER_BASE_URL, api: "openai-completions", - models: TOGETHER_MODEL_CATALOG, + models: TOGETHER_MODEL_CATALOG.map(buildTogetherModelDefinition), }; }