feat(ollama): enforce JSON logits & add nvim_buffer edit action
- Added format parameter to Ollama generate for JSON logit enforcement. - Implemented safe edit action in nvim_buffer MCP tool to replace raw Lua.
This commit is contained in:
1 parent
003b3cb2bf
commit
410b0c42ca
6 files changed
+56
-8
No files matched your search
@@ -359,7 +359,7 @@ impl McpTool for SemanticCodeSearchHandler {
|
||||
);
|
||||
if let Ok(summary) = state
|
||||
.ollama
|
||||
.generate(&prompt, None, Some("Respond clearly and concisely."))
|
||||
.generate(&prompt, None, Some("Respond clearly and concisely."), None)
|
||||
.await
|
||||
{
|
||||
out.push_str("\n\n--- Local GraphRAG Summary ---\n");
|
||||
|
||||
Reference in new issue
Block a user