token change

This commit is contained in:
2026-05-12 21:54:15 -04:00
parent 450b6eff61
commit 82c0fb096e
+2 -4
View File
@@ -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
}