aKode: integrazione della memoria di imeAI (plugin memoria)
- nuovo crate ext/memoria: aggiunge le istruzioni del plugin (instructions.md) come developer policy solo se il plugin memoria è abilitato e il suo server MCP è pronto; nessuna modifica alle istruzioni di base, [features] memories resta spento - pollutes_memory configurabile per server MCP (predefinito true) - project_header per i server HTTP: progetto ricavato dalla cartella della sessione (origin come host/owner/repo, altrimenti la cartella), connessioni separate per progetto - token Bearer dei server MCP anche dal portachiavi di aKode, solo sotto mcp:<server> (mai le chiavi dei provider dei modelli) - tool namespace (MCP, multi-agente) appiattiti in <namespace>__<tool> per i server compatibili OpenAI che accettano solo function tool (llama.cpp, ik_llama.cpp, vLLM li scartavano); capacità del provider tool_namespaces - prove: parsing e propagazione, intestazione del progetto, iniezione solo se attivo e connesso, appiattimento e mappatura delle chiamate, chiavi dei provider mai consegnate ai server MCP Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -19,6 +19,10 @@ pub struct ModelProviderCapabilities {
|
||||
/// Whether the server executes the hosted `web_search` tool itself (off by default;
|
||||
/// local servers usually do not). aKode's own `[web_search]` backend is separate.
|
||||
pub hosted_web_search: Option<bool>,
|
||||
/// Whether the server accepts Responses API `namespace` tools (off by default: llama.cpp,
|
||||
/// ik_llama.cpp and vLLM accept only function tools and silently drop namespaces, so MCP and
|
||||
/// multi-agent tools are sent flattened as `<namespace>__<tool>`).
|
||||
pub tool_namespaces: Option<bool>,
|
||||
/// Remote context-compaction protocol; omission preserves provider defaults.
|
||||
pub remote_compaction: Option<RemoteCompactionSupport>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user