#I need help setting up my model.
1 messages ยท Page 1 of 1 (latest)
๐ how can we help specifically?
I want to use the Google Gemini API
Setting it up in terminal
gotcha. Just checking if you've seen the docs about this (https://docs.dagger.io/configuration/llm/#google-gemini) and if you're having any issues with that
setting the GEMINI_API_KEY and optionally the GEMINI_MODEL variable is all you need to get it to work
Yeah is the correct command .model then GEMINI_MODEL
oh! you're referring in the shell. Yes sorry, .model is the way to go
Awesome would i post the API_KEY with it?
no, they API key needs to be set in your environment before calling dagger. With the GEMINI_API_KEY env variable
something like:
export GEMINI_API_KEY=$mykey
dagger
^ this is if you're on a mac or linux
Right now I'm using Command prompt terminal on windows
cmd then?
if that's the case you set it with set GEMINI_API_KEY=$yourkey
if you're using powershell, it's $env:GEMINI_API_KEY = "$yourkey"