Does anyone know if nostr:nprofile1qyxhwumn8ghj7mn0wvhxcmmvqydhwumn8ghj7mn0wd68ytnzd96xxmmfdecxcetzwvhxgegqyz9lv2dn65v6p79g8yqn0fz9cr4j7hetf28dwy23m6ycq50gqph3xc9yvfs can be configured inside of goose AI?
I am noob. 🍦🥹
#AskNostr
Does anyone know if nostr:nprofile1qyxhwumn8ghj7mn0wvhxcmmvqydhwumn8ghj7mn0wd68ytnzd96xxmmfdecxcetzwvhxgegqyz9lv2dn65v6p79g8yqn0fz9cr4j7hetf28dwy23m6ycq50gqph3xc9yvfs can be configured inside of goose AI?
I am noob. 🍦🥹
#AskNostr
Probably not via cashu - not sure if they do API keys and support OpenAI API
It does support API keys and my understanding is that Routstr is based on OpenRouter, which I’m using now, but I don’t know if there is an additional step to replace OpenRouter with Routstr inside of goose. If that makes sense.
Looks like you can just use an api key just like OpenAI api with nostr:nprofile1qqsgha3fk023ng8c4quszdayghqwkt6l9d9ga4c3280gnqz3aqqx7ycpramhxue69uhkummnw3ezuetfde6kuer6wasku7nfvuh8xurpvdjszrthwden5te0dehhxtnvdakqx0dc8u , just use lightning to pay. I only support cashu in Contex.st I should add API key support
I thought that’s how it worked but putting the API key in by itself didn’t work. I think I need a way to configure the server URL too.
Yes, is there a config file in goose?
I didn’t get that deep in it yet. Remember, I feel like I’m trying to do my own dentistry.
All good. Environment variables can probably be used for all of the goose configuration
On Linux/Mac it’s adding to your Home folder/.zshrc or .bashrc
export MY_FOO=the_value
Restart your terminal and start goose
On windows u do something else, with a GUI app
I nice had a wisdom tooth pulled without pain killer. Just because. It’s not THAT bad!!!
https://block.github.io/goose/docs/guides/environment-variables
Set all three of these 👆🏼 ENV variables in a .env file at the root of your codebase.
https://vite.dev/guide/env-and-mode.html#env-files
Make sure to ALSO add ‘.env*’ to your .gitignore file so that the secret api key does NOT end up pushed to your GitHub.
This might work … but prolly won’t also I think maybe goose won’t read ENV vars inside vite. You prolly need to set them in Mac OS … at least for now.
Gonna sleep on this. OpenRouter may be shitcoin-friendly but I’m just buying credits in fiat and it’s getting the job done.
You can set an environment variable for your server address, you probably also need to set one for the model u are using

🤔