Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

AI

chatEnable

Whether to enable AI chat functionality.

Type: boolean

Default:

true

Example:

true

Declared by:

duetEnable

Predict the next edit with a local model through minuet’s duet module.

Needs “minuet” in khanelivim.ai.plugins. Upstream calls duet experimental, so this stays off until a user opts in.

Duet rewrites a region through a chat endpoint. Completion at the cursor uses a separate provider and a separate model.

Type: boolean

Default:

false

Example:

true

Declared by:

localEndpoint

OpenAI-compatible base URL for locally served models.

The default points at a proxy on this machine, so the flake works on its own. A host that runs the model elsewhere, or on another port, sets this once and every plugin that reads it follows. minuet names ollama directly, because it needs a fill-in-the-middle endpoint the proxy does not serve.

Type: string

Default:

"http://127.0.0.1:8090/v1"

Example:

"http://gpu-host.lan:8090/v1"

Declared by:

plugins

List of AI plugins to enable. Multiple plugins can be enabled simultaneously. Set to [] to disable all AI features.

Disabling khanelivim.integrations.accountBacked.ai keeps only the plugins that serve completions from a local endpoint.

Available plugins:

  • avante: Claude AI interface with inline editing
  • claudecode: Claude Code integration
  • codecompanion: Gemini-based AI assistant
  • codex: OpenAI Codex integration
  • copilot: GitHub Copilot (includes chat)
  • copilot-lsp: GitHub Copilot LSP integration
  • minuet: Local completion at the cursor, served by ollama
  • opencode: OpenCode AI assistant with snacks integration
  • sidekick: Multi-provider AI suggestion system (Claude, Copilot, Gemini, Opencode)
  • windsurf: Codeium Windsurf integration

Type: list of (one of “avante”, “claudecode”, “codecompanion”, “codex”, “copilot”, “copilot-lsp”, “gemini”, “minuet”, “opencode”, “sidekick”, “windsurf”)

Default:

[
  "claudecode"
  "copilot"
  "copilot-lsp"
  "codex"
  "gemini"
  "opencode"
  "sidekick"
]

Declared by: