Skip to main content

Module settings

Module settings 

Source
Expand description

Settings management for oxicode CLI

Settings are loaded in layers (later layers override earlier):

  1. Built-in defaults
  2. Global config: ~/.oxicode/settings.toml
  3. Project config: .oxicode/settings.toml (walked up to repo root)
  4. Environment variables (OXICODE_* prefix)
  5. CLI arguments

Migration is handled via a version field in the config file.

Structs§

AdvisorSettings
Advisor subsystem settings — a read-only reviewer that shadows the primary agent and surfaces advice (nit/concern/blocker). All default OFF; the advisor is opt-in (set enabled = true in [advisor]).
CustomProvider
A custom OpenAI-compatible provider configuration.
Settings
Application settings

Enums§

EditFormat
Edit format for the edit tool.
SettingsFormat
Supported settings file formats.
ThinkingLevel
Thinking level for agent responses

Functions§

parse_thinking_level
Parse a thinking level from a string.