2
0
mirror of https://github.com/wolfpld/tracy synced 2026-01-19 04:52:09 +00:00

Increase number of user manual search results.

This commit is contained in:
Bartosz Taudul
2025-07-12 00:55:14 +02:00
parent 0da4c7e320
commit ee2ef5c455

View File

@@ -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;