Skip to content

fix(core): capture sends turns to an LLM only on mode = "llm" (#1665) - #1675

Merged
ajianaz merged 1 commit into
developfrom
fix/capture-llm-explicit-1665
Nov 4, 2026
Merged

ajianaz merged 1 commit into
developfrom
fix/capture-llm-explicit-1665

Conversation

@ajianaz

@ajianaz ajianaz commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

What

Raw capture sends conversation turns to the extraction LLM only when [extraction] mode = "llm" is set. An API key with no mode keeps them on the offline rules. uteke connect (capture on), uteke extract-queue run and the uteke-serve schedule print or log one line naming the extractor (offline, or the endpoint host, never the key).

Why

A key set for a one-off import --extract silently became consent to send every captured prompt and reply to the provider. The capture queue is unreleased (develop only, after v0.22.1), so no compatibility shim; the CHANGELOG says so.

Testing

  • sends_to_llm: key with no mode stays local, llm sends, offline/none/typo stay local.
  • extractor_line: names the offline rules or the host, never the key, userinfo or path.
  • cargo clippy for core, cli and server is clean; cargo test -p uteke-core --lib capture:: passes (30).

Closes #1665

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 12f59ac into develop Nov 4, 2026
15 checks passed
@ajianaz
ajianaz deleted the fix/capture-llm-explicit-1665 branch November 4, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(core): an extraction API key alone sends every captured conversation to the LLM

1 participant