diff options
Diffstat (limited to 'src/client/ollama.rs')
| -rw-r--r-- | src/client/ollama.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ollama.rs b/src/client/ollama.rs index 91e7bb2..fc6e148 100644 --- a/src/client/ollama.rs +++ b/src/client/ollama.rs @@ -86,7 +86,7 @@ impl OllamaClient { let body = build_body(data, self.model.name.clone())?; - let chat_endpoint = self.config.chat_endpoint.as_deref().unwrap_or("/chat"); + let chat_endpoint = self.config.chat_endpoint.as_deref().unwrap_or("/api/chat"); let url = format!("{}{chat_endpoint}", self.config.api_base); |
