Provider value
Usegemini in llm.profiles.<name>.provider.
Example profile
Required environment variable
Optional environment variable
GEMINI_BASE_URL defaults to https://generativelanguage.googleapis.com/v1beta/openai.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Configure Gemini as an LLM provider for translation generation.
gemini in llm.profiles.<name>.provider.
{
"llm": {
"profiles": {
"default": {
"provider": "gemini",
"model": "gemini-2.5-flash",
"prompt": "Translate from {{source}} to {{target}}:\n\n{{input}}"
}
}
}
}
export GEMINI_API_KEY="your-gemini-api-key"
GEMINI_API_KEY="your-gemini-api-key"
GEMINI_BASE_URL defaults to https://generativelanguage.googleapis.com/v1beta/openai.Was this page helpful?
