Support for Openrouter (#1628)
This commit is contained in:
@@ -14,7 +14,7 @@ class OllamaLLM(LLMBase):
|
||||
|
||||
if not self.config.model:
|
||||
self.config.model="llama3.1:70b"
|
||||
self.client = Client(host=self.config.base_url)
|
||||
self.client = Client(host=self.config.ollama_base_url)
|
||||
self._ensure_model_exists()
|
||||
|
||||
def _ensure_model_exists(self):
|
||||
|
||||
Reference in New Issue
Block a user