Environment Variables
Reference for all environment variables used by Simili Bot.Required
At minimum, you need Qdrant credentials and at least one AI provider key.QDRANT_URL
Vector database URL.QDRANT_API_KEY
Vector database API key.GEMINI_API_KEY
Google Gemini API key (for embeddings and/or LLM).OPENAI_API_KEY
OpenAI API key (alternative to Gemini, or used alongside it).If both
GEMINI_API_KEY and OPENAI_API_KEY are set, Gemini takes priority.Optional
GITHUB_TOKEN
GitHub personal access token for API calls. Automatically provided in GitHub Actions.repo, write:checks
TRANSFER_TOKEN
Elevated GitHub token for cross-repository transfers.LLM_MODEL
Override the LLM model at runtime without changingsimili.yaml.
GITHUB_REPOSITORY
Repository inowner/repo format. Used by simili auto-close when --repo is not specified.
Provider precedence
| Scenario | Embedding Provider | LLM Provider |
|---|---|---|
Only GEMINI_API_KEY set | Gemini | Gemini |
Only OPENAI_API_KEY set | OpenAI | OpenAI |
| Both keys set | Gemini (wins) | Gemini (wins) |
Config embedding.provider set | As configured | As configured |
Configuration variable expansion
Use variables insimili.yaml with ${VAR_NAME} syntax:
${VARIABLE_NAME} from the environment at runtime.
GitHub Actions
Set secrets in your repository and reference them in workflows:Docker
Pass variables with-e:

