ktx/docs-site/content/docs/cli-reference
Andrey Avtomonov 41acc5959c fix(setup): require explicit --llm-backend in non-interactive setup
Non-interactive setup (--no-input) silently defaulted the LLM backend to
anthropic, the one backend that cannot self-configure without an extra flag,
then failed with 'Missing Anthropic API key: pass --anthropic-api-key-env or
--anthropic-api-key-file.' — an error that never mentioned --llm-backend. A
user who passed --target claude-code had no way to discover the (hidden)
--llm-backend claude-code flag from the error.

- chooseBackend no longer silently picks anthropic in disabled mode; it fails
  with a message naming --llm-backend, listing every backend, and noting that
  claude-code/codex use local auth (no key).
- The anthropic and embedding credential errors now name --llm-backend /
  --embedding-backend so a keyless backend is discoverable from the error.
- --llm-backend and --embedding-backend use .choices(), so invalid values
  report the allowed set (and the bespoke parser fns are removed).

Only invocations that already failed change behavior; they now fail with an
actionable error instead of a cryptic one.
2026-06-09 12:06:05 +02:00
..
ktx-admin.mdx docs: standardize ktx naming (#187) 2026-05-20 17:33:38 +02:00
ktx-completion.mdx feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00
ktx-connection.mdx feat(cli): consistent connection setup recovery and build-time gate (#257) 2026-06-03 11:08:46 +00:00
ktx-ingest.mdx feat(cli): add ingest LLM rate-limit governor with paced retries (#261) 2026-06-05 12:10:27 +02:00
ktx-mcp.mdx docs: standardize ktx naming (#187) 2026-05-20 17:33:38 +02:00
ktx-setup.mdx fix(setup): require explicit --llm-backend in non-interactive setup 2026-06-09 12:06:05 +02:00
ktx-sl.mdx feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00
ktx-sql.mdx docs: standardize ktx naming (#187) 2026-05-20 17:33:38 +02:00
ktx-status.mdx feat: add codex llm backend for ktx runtime work (#253) 2026-06-02 13:57:11 +02:00
ktx-wiki.mdx feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00
ktx.mdx feat: add GitHub star nudges to CLI build view and docs sidebar (#271) 2026-06-08 16:14:56 +02:00
meta.json feat(cli): shell completion for commands, flags, and entity names (#244) 2026-05-31 23:44:33 +02:00