Repository navigation
fix(core): capture sends turns to an LLM only on mode = "llm" (#1665) - #1675
Merged
Merged
Conversation
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 runand theuteke-serveschedule 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 --extractsilently 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,llmsends,offline/none/typo stay local.extractor_line: names the offline rules or the host, never the key, userinfo or path.cargo clippyfor core, cli and server is clean;cargo test -p uteke-core --lib capture::passes (30).Closes #1665