fix: resolve mem-cli build errors
CI / CI (pull_request) Failing after 11m17s

Fix u32 vs i32 type mismatch in agent_handler for PostgreSQL binding
Remove unused imports and variables
This commit is contained in:
2026-09-15 02:24:53 +09:00
parent 61633d0eea
commit 7288b2c8ea
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ pub async fn register_agent_handler(
.bind(&body.agent_id)
.bind(&body.capabilities)
.bind(&body.webhook_url)
.bind(body.rate_limit.unwrap_or(1000))
.bind(body.rate_limit.unwrap_or(1000) as i32)
.execute(&state.pool)
.await;
+1 -1
View File
@@ -44,7 +44,7 @@ impl ExtractedEntity {
#[async_trait]
pub trait EntityExtractor: Send + Sync {
async fn extract(&self, text: &str) -> Result<Vec<ExtractedEntity>>;
async fn extract_with_auth(&self, text: &str, x_forward_user: Option<&str>) -> Result<Vec<ExtractedEntity>> {
async fn extract_with_auth(&self, text: &str, _x_forward_user: Option<&str>) -> Result<Vec<ExtractedEntity>> {
// Default: ignore auth header, use regular extract
self.extract(text).await
}