perf(mcp): Replace redundant LLM usages with deterministic logic
- Refactored memory_consolidation_worker to use purely deterministic string normalization ((N)$ regex stripping & lowercase) instead of passing graph entities to Ollama for duplication detection. - Removed redundant Ollama architectural summarization from log_code_change tool since the agent already provides a descriptive summary. - Removed redundant Ollama fix summarization from log_error_fix tool since the agent already provides a solution string.
This commit is contained in:
1 parent
26eaf03b6f
commit
e006ef1220
4 files changed
+77
-90
No files matched your search
@@ -0,0 +1,6 @@
|
||||
use mcp_memory_server::tools::{DecisionsTool, TechDebtTool, ManageCheckpointTool, HypothesesTool, AgentSignalsTool};
|
||||
use schemars::schema_for;
|
||||
|
||||
fn main() {
|
||||
println!("{}", serde_json::to_string_pretty(&schema_for!(AgentSignalsTool)).unwrap());
|
||||
}
|
||||
Reference in new issue
Block a user