chore: clean up dependencies and fix Ollama auth
- Remove unused packages: praw, feedparser, eodhd, akshare, tushare, finnhub - Fix Ollama requiring API key
This commit is contained in:
4 files changed
+1
-777
No files matched your search
@@ -57,6 +57,7 @@ class OpenAIClient(BaseLLMClient):
|
||||
llm_kwargs["api_key"] = api_key
|
||||
elif self.provider == "ollama":
|
||||
llm_kwargs["base_url"] = "http://localhost:11434/v1"
|
||||
llm_kwargs["api_key"] = "ollama" # Ollama doesn't require auth
|
||||
elif self.base_url:
|
||||
llm_kwargs["base_url"] = self.base_url
|
||||
|
||||
|
||||
Reference in new issue
Block a user