update bedrock

This commit is contained in:
better629 2025-02-27 15:16:39 +08:00
parent 07d4be2df3
commit 8c84de7468
6 changed files with 75 additions and 36 deletions

View file

@ -100,6 +100,10 @@ class LLMConfig(YamlModel):
# For Messages Control
use_system_prompt: bool = True
# reasoning / thinking switch
reasoning: bool = False
reasoning_tokens: int = 4000 # reasoning budget tokens to generate, usually smaller than max_tokens
@field_validator("api_key")
@classmethod
def check_llm_key(cls, v):