ok yeah, so far not working haha

Reply to this note

Please Login to reply.

Discussion

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!!

I will test with open router, but i haven’t used that before

cheers

it should theoretically work, not sure why it's not

openai compatible an all