Skip to content

Commit

Permalink
[DX] Increase default timeout on Ollama from 15s to 120s
Browse files Browse the repository at this point in the history
  • Loading branch information
CShorten authored Feb 29, 2024
1 parent 7cd3699 commit ed10b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsp/modules/ollama.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(
model: str = "llama2",
model_type: Literal["chat", "text"] = "text",
base_url: str = "http://localhost:11434",
timeout_s: float = 15,
timeout_s: float = 120,
temperature: float = 0.0,
max_tokens: int = 150,
top_p: int = 1,
Expand Down

0 comments on commit ed10b74

Please sign in to comment.