mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-06-19 04:03:17 +00:00
updated settings.py and tidied up settings-ollama-yaml
This commit is contained in:
parent
0bf0bff96a
commit
74e29e8947
@ -229,6 +229,10 @@ class OllamaSettings(BaseModel):
|
|||||||
1.1,
|
1.1,
|
||||||
description="Sets how strongly to penalize repetitions. A higher value (e.g., 1.5) will penalize repetitions more strongly, while a lower value (e.g., 0.9) will be more lenient. (Default: 1.1)",
|
description="Sets how strongly to penalize repetitions. A higher value (e.g., 1.5) will penalize repetitions more strongly, while a lower value (e.g., 0.9) will be more lenient. (Default: 1.1)",
|
||||||
)
|
)
|
||||||
|
request_timeout: float = Field(
|
||||||
|
120.0,
|
||||||
|
description="Time elapsed until ollama times out the request. Default is 120s. Format is float. "
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class UISettings(BaseModel):
|
class UISettings(BaseModel):
|
||||||
|
Loading…
Reference in New Issue
Block a user