File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apps/desktop/src/components/editor-area Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -253,9 +253,6 @@ export function useEnhanceMutation({
253253 } ,
254254 ) ;
255255
256- // console.log("systemMessage", systemMessage);
257- // console.log("userMessage", userMessage);
258-
259256 const abortController = new AbortController ( ) ;
260257 const abortSignal = AbortSignal . any ( [ abortController . signal , AbortSignal . timeout ( 60 * 1000 ) ] ) ;
261258 setEnhanceController ( abortController ) ;
@@ -266,10 +263,13 @@ export function useEnhanceMutation({
266263 : provider . languageModel ( "defaultModel" ) ;
267264
268265 if ( sessionId !== onboardingSessionId ) {
266+ const { type } = await connectorCommands . getLlmConnection ( ) ;
267+
269268 analyticsCommands . event ( {
270269 event : "normal_enhance_start" ,
271270 distinct_id : userId ,
272271 session_id : sessionId ,
272+ connection_type : type ,
273273 } ) ;
274274 }
275275
You can’t perform that action at this time.
0 commit comments