Remix.run Logo
chrisco23 a day ago

I'm trying to get this to work with ollama. I'm on Arch Linux, fish shell, new to ollama, and only very rarely used pipx. I get:

raise ValueError("OPENAI_BASE_URL and OPENAI_API_KEY must be set. Try running `zev --setup`.") ValueError: OPENAI_BASE_URL and OPENAI_API_KEY must be set. Try running `zev --setup`

even when I run (for example) set -x ZEV_USE_OLLAMA 1; zev 'show all files and all permissions'

dtnewman a day ago | parent [-]

creator here. It pulls env variables from a file in your appstorage directory. I need to change this in a future release to make it cleaner, since I don't think i like it intermingling with env variables.

That said, did you run `zev --setup`?

lionkor 10 hours ago | parent | next [-]

Why are you using env variables when you don't pull them primarily from the process env?

dtnewman 8 hours ago | parent [-]

I’m debating changing it. I do pull in env vars to use as default values (e.g. you already have an API key set). But I might transition way from env variables.

dtnewman a day ago | parent | prev [-]

btw, feel free to open an issue on github :)