Fix: Reset suggestions cache on user message to re-enable tool buttons after chat
All checks were successful
BotUI CI/CD / build (push) Successful in 38s
All checks were successful
BotUI CI/CD / build (push) Successful in 38s
This commit is contained in:
parent
53e5170564
commit
3966cbd647
1 changed files with 2 additions and 0 deletions
|
|
@ -1084,6 +1084,8 @@ function sendMessage(messageContent) {
|
|||
currentStreamingContent = "";
|
||||
// Also reset thinking state when user sends a new message
|
||||
isThinking = false;
|
||||
// Reset suggestions cache so tool buttons are re-rendered after conversation
|
||||
lastRenderedSuggestions = null;
|
||||
|
||||
// Inject active switchers into content
|
||||
var activeKeys = Object.keys(activeSwitchers).filter(function(k) { return activeSwitchers[k]; });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue