fix claude output tokens (#3695)
This commit is contained in:
@@ -288,7 +288,7 @@ if settings.ENABLE_ANTHROPIC:
|
|||||||
["ANTHROPIC_API_KEY"],
|
["ANTHROPIC_API_KEY"],
|
||||||
supports_vision=True,
|
supports_vision=True,
|
||||||
add_assistant_prefix=True,
|
add_assistant_prefix=True,
|
||||||
max_completion_tokens=8192,
|
max_completion_tokens=64000,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
LLMConfigRegistry.register_config(
|
LLMConfigRegistry.register_config(
|
||||||
@@ -308,7 +308,7 @@ if settings.ENABLE_ANTHROPIC:
|
|||||||
["ANTHROPIC_API_KEY"],
|
["ANTHROPIC_API_KEY"],
|
||||||
supports_vision=True,
|
supports_vision=True,
|
||||||
add_assistant_prefix=True,
|
add_assistant_prefix=True,
|
||||||
max_completion_tokens=8192,
|
max_completion_tokens=32000,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
LLMConfigRegistry.register_config(
|
LLMConfigRegistry.register_config(
|
||||||
@@ -318,7 +318,7 @@ if settings.ENABLE_ANTHROPIC:
|
|||||||
["ANTHROPIC_API_KEY"],
|
["ANTHROPIC_API_KEY"],
|
||||||
supports_vision=True,
|
supports_vision=True,
|
||||||
add_assistant_prefix=True,
|
add_assistant_prefix=True,
|
||||||
max_completion_tokens=8192,
|
max_completion_tokens=64000,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user