mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-18 07:26:51 +00:00
ruff formatting
This commit is contained in:
parent
05ff156340
commit
48c0823af3
@ -3,7 +3,7 @@ from pydantic import Field
|
|||||||
|
|
||||||
|
|
||||||
class CustomOllama(Ollama):
|
class CustomOllama(Ollama):
|
||||||
"""Custom llama_index Ollama class with the only intention of passing on the keep_alive parameter."""
|
"""Custom Ollama class to fill in "keep_alive" when sending requests."""
|
||||||
|
|
||||||
keep_alive: str = Field(
|
keep_alive: str = Field(
|
||||||
default="5m",
|
default="5m",
|
||||||
|
Loading…
Reference in New Issue
Block a user