.toml file for configuration. You receive this file during initial installation. Below is a set of configurations that you can modify according to your needs.
Models configuration (required)
The Context Engine requires at least:- One embedding model
- One chat model capable of agentic (multi-step) execution
Model types
1. Embedding model (required)
Drives chunking and retrieval. May require tuning if replaced. Example:text-embedding-large-3
2. Super-fast model (optional)
A lightweight model for very quick operations. If not provided, the agentic model will handle these tasks, but indexing may become slower. Example:gpt-4.1-nano
Recommendation: If no fast or super-fast model is available, it’s best to disable code description during indexing to avoid slowdowns.
3. Fast chat model (optional)
Used for quick, non-reasoning tasks. If not provided, the agentic model can be used instead, with some performance impact. Example:gpt-4.1-mini
4. Agentic-capable chat model (required)
Runs the core agent workflows and multi-step reasoning. Example:claude-sonnet-4-5
Required models summary
Example model configurations
OpenAI-only example
Bedrock-only example
Default configuration
Bedrock configuration
Set this environment variable to enable Bedrock routing:- AI_MODELS_FILE=ai_models_bedrock.py
LLM gateway support
Our product supports integration with custom LLM gateways, provided they implement the same API interfaces as the official OpenAI or Anthropic model endpoints. Set this environment variable in all deployments to enable LLM gateway routing:- AI_MODELS_FILE=ai_models_onprem.py
Monitoring config (recommended)
- Sentry - We use Sentry for error tracking. When enabled, we only emit code crashes and traces.
- Mixpanel - Used for analytics only. No user data is sent.
- CLIENT_DISPLAY_NAME - Name of your org e.g.
"qodo_ai"used as identifier for the above tools