You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, our web UI supports the OLLAMA_ENDPOINT variable in the format: OLLAMA_ENDPOINT="http://[insert your ollama URL]", where you must include the port number as well. For instance: OLLAMA_ENDPOINT="http://192.168.4.1:11434/".
If you have any further questions or need assistance, please don't hesitate to ask.
I had running with the ENVs like this, but it didn't work.
SERVER_ENDPOINT='http://localhost:11434' npm run dev
I think that's because I chose SERVER_ENDPOINT, which was only hardcoded.
Do you know how to change the build step to make use of ENVs? It can't be through process.env.* since that doesn't exist at build time... unless it does?
Maybe PageServerLoadcan use process.env.* during the build phase?
How to I change the API Host from https://localhost:11434 to something else, such as
https://api.example.com
or just/api
on the same server?What other environment variables can I set before running
npm run build
?The text was updated successfully, but these errors were encountered: