From e74a1850bf8257409761b694d82d398b1bc918b4 Mon Sep 17 00:00:00 2001 From: oabrivard Date: Wed, 25 Mar 2026 23:53:38 +0100 Subject: [PATCH] fix: log source URL in link_extraction LLM call logs Co-Authored-By: Claude Opus 4.6 (1M context) --- backend/src/services/source_scraper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/services/source_scraper.rs b/backend/src/services/source_scraper.rs index ae07afc..35e9320 100644 --- a/backend/src/services/source_scraper.rs +++ b/backend/src/services/source_scraper.rs @@ -228,7 +228,7 @@ pub async fn extract_article_links_with_llm( crate::db::llm_call_log::insert( pool, uid, jid, "link_extraction", model, &system, &user, &response_str, llm_duration as i32, - None, + Some(source_url), ).await.ok(); }