uv run tapio setup-api-keys-
Get your API key from Google AI Studio
-
Set your API key using one of these methods:
Method A: Environment Variable (Recommended)
export GEMINI_API_KEY="your_api_key_here"
Method B: .env File
# Copy the example file cp .env.example .env # Edit .env and add your API key echo "GEMINI_API_KEY=your_api_key_here" >> .env
Method C: Shell Profile (Permanent)
# Add to ~/.bashrc, ~/.zshrc, or ~/.profile echo 'export GEMINI_API_KEY="your_api_key_here"' >> ~/.bashrc source ~/.bashrc
uv run tapio adk-server --model-name gemini-2.0-flashuv run tapio adk-serveruv run tapio list-modelsGemini Models (require API key):
gemini-2.0-flash- Fast, efficient modelgemini-1.5-pro- Advanced model with large context
Ollama Models (local, no API key needed):
llama3.2- Meta's Llama 3.2llama3.1- Meta's Llama 3.1mistral- Mistral AI model
Error: "Gemini API key required"
- Make sure you've set one of:
GEMINI_API_KEY,GOOGLE_API_KEY, orGOOGLE_AI_API_KEY - Check that your API key is valid
Error: "Model not found"
- For Ollama models, make sure Ollama is running:
ollama serve - Pull the model:
ollama pull llama3.2
Error: "google-generativeai package not installed"
- This should be automatically installed. If not:
uv add google-generativeai