feat(embedding,vision): candle embeddings with offline fallback, on-demand clipboard vision capture, and concurrency audit
This commit is contained in:
1 parent
5bd8b1587a
commit
e4a0fe72df
47 files changed
+6292
-3503
No files matched your search
@@ -55,6 +55,10 @@ impl McpTool for GetActiveWorktreeContextHandler {
|
||||
|
||||
if let Some(diff) = diff {
|
||||
let _ = diff.print(git2::DiffFormat::Patch, |_delta, _hunk, line| {
|
||||
match line.origin() {
|
||||
'+' | '-' | ' ' => diff_output.push(line.origin()),
|
||||
_ => {}
|
||||
}
|
||||
let content = std::str::from_utf8(line.content()).unwrap_or("");
|
||||
diff_output.push_str(content);
|
||||
true
|
||||
|
||||
Reference in new issue
Block a user