guessing this works with openrouter? trying now!
Discussion
should in theory, I haven’t tested or have the ui for switching providers yet
so which model does it default to when you're using openai?
4o i think but its configurable in code
ok i feel so close lol
i ran it with the flag of the openai api key, and changed the base url to the openrouter api route, but clicking the block on the left doesn't do anything lol 
NVM U CLICK THE DAMUS LOGO
ok yeah, so far not working haha 
are you setting OPENAI_API_KEY in env?
yep
"2025-04-18T22:45:46.388962Z ERROR notedeck_dave: failed to get token: stream failed: Invalid status code: 401 Unauthorized"
even though it's literally the right key??
i'm running;
export OPENAI_API_KEY="[redacted]" which i literally just copied the key from from OR
I fixed this. you can set these to get openrouter working:
DAVE_API_KEY=$OPENROUTER_API_KEY
DAVE_ENDPOINT=https://openrouter.ai/api/v1
DAVE_MODEL="google/gemini-2.0-flash-001"
thank you!!