diff --git a/profiler/src/profiler/TracyLlmTools.cpp b/profiler/src/profiler/TracyLlmTools.cpp index ac297a78..44c071e8 100644 --- a/profiler/src/profiler/TracyLlmTools.cpp +++ b/profiler/src/profiler/TracyLlmTools.cpp @@ -462,16 +462,10 @@ std::string TracyLlmTools::SearchWikipedia( std::string query, const std::string for( auto& page : pages ) { if( !page.contains( "key" ) ) continue; - const auto key = page["key"].get_ref(); - - auto summary = FetchHttp( "https://" + lang + ".wikipedia.org/api/rest_v1/page/summary/" + key ); - auto summaryJson = nlohmann::json::parse( summary ); - nlohmann::json j = { { "key", key }, { "title", page["title"] }, - { "preview", summaryJson["extract"] }, { "excerpt", page["excerpt"] } }; if( page.contains( "description" ) && !page["description"].is_null() ) j["description"] = page["description"];