From 52179c4428dba98ea4bd7b5c29778961686522b4 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 31 Dec 2025 15:58:58 +0100 Subject: [PATCH] Hide LLM temperature setting in advanced options. --- profiler/src/profiler/TracyLlm.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/profiler/src/profiler/TracyLlm.cpp b/profiler/src/profiler/TracyLlm.cpp index 182a0149..5f5dc4be 100644 --- a/profiler/src/profiler/TracyLlm.cpp +++ b/profiler/src/profiler/TracyLlm.cpp @@ -262,17 +262,19 @@ void TracyLlm::Draw() ImGui::EndCombo(); } } - - ImGui::Checkbox( ICON_FA_TEMPERATURE_HALF " Temperature", &m_setTemperature ); - ImGui::SameLine(); - ImGui::SetNextItemWidth( 40 * scale ); - if( ImGui::InputFloat( "##temperature", &m_temperature, 0, 0, "%.2f" ) ) m_temperature = std::clamp( m_temperature, 0.f, 2.f ); if( responding ) ImGui::EndDisabled(); ImGui::Checkbox( ICON_FA_GLOBE " Internet access", &m_tools->m_netAccess ); - if( ImGui::TreeNode( "External services" ) ) + if( ImGui::TreeNode( "Advanced" ) ) { + if( responding ) ImGui::BeginDisabled(); + ImGui::Checkbox( ICON_FA_TEMPERATURE_HALF " Temperature", &m_setTemperature ); + ImGui::SameLine(); + ImGui::SetNextItemWidth( 40 * scale ); + if( ImGui::InputFloat( "##temperature", &m_temperature, 0, 0, "%.2f" ) ) m_temperature = std::clamp( m_temperature, 0.f, 2.f ); + if( responding ) ImGui::EndDisabled(); + char buf[1024]; ImGui::AlignTextToFramePadding();