mirror of
https://github.com/usestrix/strix.git
synced 2026-10-07 02:58:26 +00:00
fix: restore ollama_api_base config fallback for Ollama support
This commit is contained in:
parent
56526cbf90
commit
31baa0dfc0
1 changed files with 1 additions and 0 deletions
|
|
@ -198,6 +198,7 @@ class LLM:
|
|||
Config.get("llm_api_base")
|
||||
or Config.get("openai_api_base")
|
||||
or Config.get("litellm_base_url")
|
||||
or Config.get("ollama_api_base")
|
||||
):
|
||||
args["api_base"] = api_base
|
||||
if self._supports_reasoning():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue