token change
This commit is contained in:
@@ -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
|
// The Managed Agent's system prompt and model (configured in the Claude
|
||||||
// Console) are used by default. Optional env vars can override them.
|
// Console) are used by default. Optional env vars can override them.
|
||||||
const streamArgs = {
|
const streamArgs = {
|
||||||
max_tokens: 10000,
|
model: process.env.ANTHROPIC_MODEL || 'claude-opus-4-6',
|
||||||
|
max_tokens: 600000,
|
||||||
messages: [
|
messages: [
|
||||||
{
|
{
|
||||||
role: 'user',
|
role: 'user',
|
||||||
@@ -93,9 +94,6 @@ Please follow your instructions to produce the funding outlook brief.`
|
|||||||
if (process.env.ANTHROPIC_AGENT_ID) {
|
if (process.env.ANTHROPIC_AGENT_ID) {
|
||||||
streamArgs.agent_id = 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) {
|
if (process.env.ANTHROPIC_SYSTEM_PROMPT) {
|
||||||
streamArgs.system = process.env.ANTHROPIC_SYSTEM_PROMPT
|
streamArgs.system = process.env.ANTHROPIC_SYSTEM_PROMPT
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user