From 041f74db18c4e1e0bea3657988fdc73d39855e0c Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 19 Apr 2026 17:26:14 +0800 Subject: [PATCH] fix(presets): refresh stale context windows for DeepSeek and Claude 1M MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - DeepSeek V3.2 / R1 (Hermes, OpenClaw): 64K → 128K context - DeepSeek R1 max output: 8K → 64K (includes CoT tokens) - Claude Opus 4.7 / Sonnet 4.6 via OpenRouter: 200K → 1M context --- src/config/hermesProviderPresets.ts | 10 +++++----- src/config/openclawProviderPresets.ts | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/config/hermesProviderPresets.ts b/src/config/hermesProviderPresets.ts index 05d1bd9c9..2acd542f2 100644 --- a/src/config/hermesProviderPresets.ts +++ b/src/config/hermesProviderPresets.ts @@ -136,13 +136,13 @@ export const hermesProviderPresets: HermesProviderPreset[] = [ { id: "anthropic/claude-opus-4-7", name: "Claude Opus 4.7", - context_length: 200000, + context_length: 1000000, max_tokens: 32000, }, { id: "anthropic/claude-sonnet-4-6", name: "Claude Sonnet 4.6", - context_length: 200000, + context_length: 1000000, max_tokens: 32000, }, { @@ -184,14 +184,14 @@ export const hermesProviderPresets: HermesProviderPreset[] = [ { id: "deepseek-chat", name: "DeepSeek V3.2", - context_length: 64000, + context_length: 128000, max_tokens: 8000, }, { id: "deepseek-reasoner", name: "DeepSeek R1", - context_length: 64000, - max_tokens: 8000, + context_length: 128000, + max_tokens: 64000, }, ], }, diff --git a/src/config/openclawProviderPresets.ts b/src/config/openclawProviderPresets.ts index 12a375e7d..102446be5 100644 --- a/src/config/openclawProviderPresets.ts +++ b/src/config/openclawProviderPresets.ts @@ -117,13 +117,13 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [ { id: "deepseek-chat", name: "DeepSeek V3.2", - contextWindow: 64000, + contextWindow: 128000, cost: { input: 0.0005, output: 0.002 }, }, { id: "deepseek-reasoner", name: "DeepSeek R1", - contextWindow: 64000, + contextWindow: 128000, cost: { input: 0.0005, output: 0.002 }, }, ],