fix: update Kimi K2.5 context window from 128K to 256K (#440)

The Kimi K2.5 model supports a 256,000 token context window, not
128,000. Updated the provider template and model config to reflect
the correct value.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Felarof
2026-03-07 17:58:52 -08:00
committed by GitHub
parent c8a674fe93
commit 60a4167a0e
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ export interface ModelsData {
* Based on: https://github.com/browseros-ai/BrowserOS-agent/blob/main/src/options/data/models.ts
*/
export const MODELS_DATA: ModelsData = {
moonshot: [{ modelId: 'kimi-k2.5', contextLength: 128000 }],
moonshot: [{ modelId: 'kimi-k2.5', contextLength: 256000 }],
anthropic: [
{ modelId: 'claude-opus-4-5-20251101', contextLength: 200000 },
{ modelId: 'claude-haiku-4-5-20251001', contextLength: 200000 },

View File

@@ -26,7 +26,7 @@ export const providerTemplates: ProviderTemplate[] = [
defaultBaseUrl: 'https://api.moonshot.ai/v1',
defaultModelId: 'kimi-k2.5',
supportsImages: true,
contextWindow: 128000,
contextWindow: 256000,
apiKeyUrl: 'https://platform.moonshot.ai/console/api-keys',
setupGuideUrl: 'https://platform.moonshot.ai/console/api-keys',
},