Update tinyhumansai dependency to version 0.1.5 in Cargo.toml and Cargo.lock; adjust memory client query_skill_context method to simplify namespace handling by removing integration_id parameter.

This commit is contained in:
M3gA-Mind
2026-03-25 20:53:18 +05:30
parent ec86559382
commit 8fd50dfc27
3 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -8457,10 +8457,11 @@ dependencies = [
[[package]]
name = "tinyhumansai"
version = "0.1.4"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7a88dba7fe194a507d0351c5f8b5cd8518fb30f8307dd788333f9715f51c44e"
checksum = "691a096ecaaeec23ac7bbcfb276058de9d4aff1c574ee074125d5e5080e17b7d"
dependencies = [
"log",
"reqwest 0.12.28",
"serde",
"serde_json",
+1 -1
View File
@@ -140,7 +140,7 @@ opentelemetry_sdk = { version = "0.31", default-features = false, features = ["t
opentelemetry-otlp = { version = "0.31", default-features = false, features = ["trace", "metrics", "http-proto", "reqwest-client", "reqwest-rustls-webpki-roots"] }
tokio-stream = { version = "0.1.18", features = ["full"] }
url = "2"
tinyhumansai = "0.1.4"
tinyhumansai = "0.1.5"
# Optional integrations
matrix-sdk = { version = "0.16", optional = true, default-features = false, features = ["e2e-encryption", "rustls-tls", "markdown"] }
+2 -2
View File
@@ -180,11 +180,11 @@ impl MemoryClient {
pub async fn query_skill_context(
&self,
skill_id: &str,
integration_id: &str,
_integration_id: &str,
query: &str,
max_chunks: u32,
) -> Result<String, String> {
let namespace = format!("skill:{skill_id}:{integration_id}");
let namespace = skill_id.to_string();
log::info!("[memory] query_skill_context: entry (namespace={namespace}, max_chunks={max_chunks}, query={query:?})");
log::debug!(
"[memory] query_skill_context: payload → namespace={namespace} | max_chunks={max_chunks} | query={query}"