-
|
App looks pretty good, I'm excited about the AI functionality, but prefer to keep it local for my portfolio info. I have a self hosted OIlama container, but can't get Investbrain to talk to it. The docs are light on this. My environment variables currently are: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Can you take a look at your |
Beta Was this translation helpful? Give feedback.
Gemini helped solved this for me. I had to have the following environment variables to make this work with my local Ollama instance:
AI_CHAT_ENABLED: true
OPENAI_BASE_URI: http://[your server IP]:[Ollama Port]/v1
OPENAI_MODEL: [whatever model you're using]
OPENAI_API_KEY: 'ollama-placeholder-key'
The key changes were to ensure the "/v1" was in the base url, and that you put a dummy API key (what you see above is exactly what is in my install).
Hope that helps someone!