From 82c0fb096e8304de48d516753adeb9c308130f21 Mon Sep 17 00:00:00 2001 From: Alex Curley Date: Tue, 12 May 2026 21:54:15 -0400 Subject: [PATCH] token change --- netlify/functions/agent-proxy.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/netlify/functions/agent-proxy.js b/netlify/functions/agent-proxy.js index 8c26282..f5c49c3 100644 --- a/netlify/functions/agent-proxy.js +++ b/netlify/functions/agent-proxy.js @@ -82,7 +82,8 @@ Please follow your instructions to produce the funding outlook brief.` // The Managed Agent's system prompt and model (configured in the Claude // Console) are used by default. Optional env vars can override them. const streamArgs = { - max_tokens: 10000, + model: process.env.ANTHROPIC_MODEL || 'claude-opus-4-6', + max_tokens: 600000, messages: [ { role: 'user', @@ -93,9 +94,6 @@ Please follow your instructions to produce the funding outlook brief.` if (process.env.ANTHROPIC_AGENT_ID) { streamArgs.agent_id = process.env.ANTHROPIC_AGENT_ID } - if (process.env.ANTHROPIC_MODEL) { - streamArgs.model = process.env.ANTHROPIC_MODEL - } if (process.env.ANTHROPIC_SYSTEM_PROMPT) { streamArgs.system = process.env.ANTHROPIC_SYSTEM_PROMPT }