chore: Add anthropic model outputs for Claude 3.7

This commit is contained in:
Danny Avila 2025-05-05 08:34:54 -04:00
parent a4643b6f72
commit c82c838d36
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956

View file

@ -239,12 +239,15 @@ const modelMaxOutputs = {
system_default: 1024,
};
/** Outputs from https://docs.anthropic.com/en/docs/about-claude/models/all-models#model-names */
const anthropicMaxOutputs = {
'claude-3-haiku': 4096,
'claude-3-sonnet': 4096,
'claude-3-opus': 4096,
'claude-3.5-sonnet': 8192,
'claude-3-5-sonnet': 8192,
'claude-3.7-sonnet': 128000,
'claude-3-7-sonnet': 128000,
};
const maxOutputTokensMap = {