test: production ingest E2E test suite with enhanced logging #55

Open
poimen wants to merge 34 commits from feat/production-ingest-test-logging into main
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 7288b2c8ea - Show all commits
+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
}