From ee2ef5c4554440b31a1974958a950b94aac3d33c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 12 Jul 2025 00:55:14 +0200 Subject: [PATCH] Increase number of user manual search results. --- profiler/src/profiler/TracyLlmTools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiler/src/profiler/TracyLlmTools.cpp b/profiler/src/profiler/TracyLlmTools.cpp index d9a30c7c..55983abb 100644 --- a/profiler/src/profiler/TracyLlmTools.cpp +++ b/profiler/src/profiler/TracyLlmTools.cpp @@ -796,8 +796,8 @@ std::string TracyLlmTools::SearchManual( const std::string& query, TracyLlmApi& if( !hasEmbeddingsModel ) return "Searching the user manual requires vector embeddings model to be selected. You must inform the user that he should download such a model using their LLM provider software, so you can use this tool."; if( !m_manualEmbeddingState.done ) return "User manual embedding vectors are not calculated. You must inform the user that he should click the \"Learn manual\" button, so you can use this tool."; - constexpr size_t MaxSearchResults = 10; - constexpr size_t MaxOutputChunks = 5; + constexpr size_t MaxSearchResults = 20; + constexpr size_t MaxOutputChunks = 10; nlohmann::json req; req["input"] = "search_query: " + query;