From 150ec1534cb63b903e23790c2fb3b3245f58cdb5 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 14 May 2026 19:50:51 +0200 Subject: [PATCH] Store View in TracyLlm. --- profiler/src/profiler/TracyLlm.cpp | 2 ++ profiler/src/profiler/TracyLlm.hpp | 1 + 2 files changed, 3 insertions(+) diff --git a/profiler/src/profiler/TracyLlm.cpp b/profiler/src/profiler/TracyLlm.cpp index 0daed053..3c1bbab9 100644 --- a/profiler/src/profiler/TracyLlm.cpp +++ b/profiler/src/profiler/TracyLlm.cpp @@ -11,6 +11,7 @@ #include "TracyLlmChat.hpp" #include "TracyLlmTools.hpp" #include "TracyPrint.hpp" +#include "TracyView.hpp" #include "TracyWeb.hpp" #include "TracyWorker.hpp" #include "../Fonts.hpp" @@ -33,6 +34,7 @@ TracyLlm::TracyLlm( Worker& worker, View& view, const TracyManualData& manual ) , m_input( nullptr ) , m_apiInput( nullptr ) , m_worker( worker ) + , m_view( view ) { if( !s_config.llm ) return; diff --git a/profiler/src/profiler/TracyLlm.hpp b/profiler/src/profiler/TracyLlm.hpp index 277bedbb..1869432a 100644 --- a/profiler/src/profiler/TracyLlm.hpp +++ b/profiler/src/profiler/TracyLlm.hpp @@ -126,6 +126,7 @@ private: nlohmann::json m_toolsJson; Worker& m_worker; + View& m_view; }; }