mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-17 02:39:40 +00:00
Update max output tokens to 16K (#1110)
This commit is contained in:
parent
3e0639ba38
commit
bf06fcfeb7
3 changed files with 19 additions and 6 deletions
|
@ -34,6 +34,7 @@ class LLMConfigBase:
|
|||
@dataclass(frozen=True)
|
||||
class LLMConfig(LLMConfigBase):
|
||||
litellm_params: Optional[LiteLLMParams] = field(default=None)
|
||||
max_output_tokens: int = SettingsManager.get_settings().LLM_CONFIG_MAX_TOKENS
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
|
@ -69,6 +70,7 @@ class LLMRouterConfig(LLMConfigBase):
|
|||
allowed_fails: int | None = None
|
||||
allowed_fails_policy: AllowedFailsPolicy | None = None
|
||||
cooldown_time: float | None = None
|
||||
max_output_tokens: int = SettingsManager.get_settings().LLM_CONFIG_MAX_TOKENS
|
||||
|
||||
|
||||
class LLMAPIHandler(Protocol):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue