26 lines
784 B
Rust
26 lines
784 B
Rust
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;
|