Skip to content

Commit d045449

Browse files
committed
fix(Chat): change default reasoningEnabled to undefined for new chats
1 parent bb173a3 commit d045449

File tree

1 file changed

+2
-2
lines changed
  • entrypoints/sidepanel/utils/chat

1 file changed

+2
-2
lines changed

entrypoints/sidepanel/utils/chat/chat.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ export class Chat {
313313
id: chatHistoryId.value,
314314
title: defaultTitle,
315315
lastInteractedAt: Date.now(),
316-
reasoningEnabled: true, // Default to true for new chats
316+
reasoningEnabled: undefined, // Default to undefined for new chats
317317
})
318318

319319
// If this is a new chat (no existing history), set global reasoning to true
@@ -371,7 +371,7 @@ export class Chat {
371371
title: defaultTitle,
372372
lastInteractedAt: Date.now(),
373373
contextUpdateInfo: undefined,
374-
reasoningEnabled: true, // Default to true for new chats
374+
reasoningEnabled: undefined, // Default to undefined for new chats
375375
}
376376

377377
// If this is a new chat (no existing history), set global reasoning to true

0 commit comments

Comments
 (0)