mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 10:45:42 +01:00
Fix mypy
This commit is contained in:
parent
a7b18058b5
commit
70ca241a8b
2 changed files with 6 additions and 2 deletions
|
|
@ -81,7 +81,9 @@ class DataSettings(BaseModel):
|
|||
|
||||
|
||||
class LLMSettings(BaseModel):
|
||||
mode: Literal["llamacpp", "openai", "openailike", "sagemaker", "mock", "ollama", "tensorrt"]
|
||||
mode: Literal[
|
||||
"llamacpp", "openai", "openailike", "sagemaker", "mock", "ollama", "tensorrt"
|
||||
]
|
||||
max_new_tokens: int = Field(
|
||||
256,
|
||||
description="The maximum number of token that the LLM is authorized to generate in one completion.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue