Expand description
Project configuration loaded from .ctx/config.toml.
An optional, committed TOML file that sets per-project defaults so teams don’t have to pass the same flags/env vars on every invocation. Currently it configures the embedding backend; more sections can be added over time.
[embedding]
provider = "ollama" # local | openai | ollama
model = "qwen3-embedding:8b" # provider-specific (Ollama/OpenAI model)
# host = "http://localhost:11434" # Ollama onlyPrecedence for the resolved settings is always CLI flag > environment variable > this file > built-in default, so the config never overrides an explicit request.
Structs§
- CtxConfig
- Top-level
.ctx/config.tomlcontents. Unknown keys are ignored so older binaries tolerate newer config files. - Embedding
Config [embedding]section: default provider and provider-specific settings.
Constants§
- CONFIG_
FILE - Config file name inside
.ctx/.