Don't waste time calculating embeddings that will be ignored.

This commit is contained in:
Bartosz Taudul
2025-06-07 21:18:46 +02:00
parent c641787ed1
commit 8259cd6aff

View File

@@ -310,7 +310,7 @@ void TracyLlmTools::ManualEmbeddingsWorker( TracyLlmApi& api )
size_t length;
{
nlohmann::json req;
req["input"] = "embeddings length probe";
req["input"] = "";
req["model"] = m_manualEmbeddingState.model;
nlohmann::json response;