From fa8a57af868cdf928d644b80e0e645bb3ea662da Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 15 Jan 2026 02:25:03 +0100 Subject: [PATCH] Include search excerpt in wikipedia search results. This directly references the search keywords in articles that may seem unrelated based on their title or description alone. --- profiler/src/profiler/TracyLlmTools.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiler/src/profiler/TracyLlmTools.cpp b/profiler/src/profiler/TracyLlmTools.cpp index 55e2f412..c49c042a 100644 --- a/profiler/src/profiler/TracyLlmTools.cpp +++ b/profiler/src/profiler/TracyLlmTools.cpp @@ -439,7 +439,8 @@ TracyLlmTools::ToolReply TracyLlmTools::SearchWikipedia( std::string query, cons { "key", key }, { "title", page["title"] }, { "description", page["description"] }, - { "preview", summaryJson["extract"] } + { "preview", summaryJson["extract"] }, + { "excerpt", page["excerpt"] } } ); }