From 6ce5c345a5d4e9e670e9f06ee39c1f90c92531ee Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 11 May 2025 19:26:40 +0200 Subject: [PATCH] Don't fail when there are no models downloaded. --- profiler/src/main.cpp | 61 ++++++++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 27 deletions(-) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 054c2912..30012f89 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -922,37 +922,44 @@ static void DrawContents() break; } - if( !llmModels.empty() ) + if( llmstatus == 2 ) { - ImGui::TextDisabled( "Selected model:" ); - int sel; - for( sel=0; sel