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