how do I access Dave?

#asknostr

Reply to this note

Please Login to reply.

Discussion

TH!S!

Its in heavy development at the moment. If you are ambitious you can download notedeck and compile it, with OPENAI_API_KEY set. You won’t have to do this when its released obviously

guessing this works with openrouter? trying now!

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

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

You wont have to because it will be fully local? That was my understanding of the feature, although I understand why youd use an API for testing

it supports both, openai works better for testing because its not as dumb as the models that can fit on my 8gb vram gpu

Makes sense. As long as thats optional, thats all that matters