aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
25
akode-rs/ext/memories/src/lib.rs
Normal file
25
akode-rs/ext/memories/src/lib.rs
Normal file
@@ -0,0 +1,25 @@
|
||||
mod backend;
|
||||
mod extension;
|
||||
mod local;
|
||||
mod metrics;
|
||||
mod prompts;
|
||||
mod schema;
|
||||
mod tools;
|
||||
|
||||
pub use extension::install;
|
||||
|
||||
pub(crate) const DEFAULT_LIST_MAX_RESULTS: usize = 2_000;
|
||||
pub(crate) const MAX_LIST_RESULTS: usize = 2_000;
|
||||
pub(crate) const DEFAULT_SEARCH_MAX_RESULTS: usize = 200;
|
||||
pub(crate) const MAX_SEARCH_RESULTS: usize = 200;
|
||||
pub(crate) const DEFAULT_READ_MAX_TOKENS: usize = 20_000;
|
||||
pub(crate) const MEMORY_TOOL_DEVELOPER_INSTRUCTIONS_SUMMARY_TOKEN_LIMIT: usize = 2_500;
|
||||
|
||||
pub(crate) const MEMORY_TOOLS_NAMESPACE: &str = "memories";
|
||||
pub(crate) const ADD_AD_HOC_NOTE_TOOL_NAME: &str = "add_ad_hoc_note";
|
||||
pub(crate) const LIST_TOOL_NAME: &str = "list";
|
||||
pub(crate) const READ_TOOL_NAME: &str = "read";
|
||||
pub(crate) const SEARCH_TOOL_NAME: &str = "search";
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
Reference in New Issue
Block a user