File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
tools/server/webui/src/lib/stores Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1815,6 +1815,7 @@ class ChatStore {
18151815 if ( 'id' in msg && 'convId' in msg && 'timestamp' in msg ) {
18161816 return msg as DatabaseMessage & { extra ?: DatabaseMessageExtra [ ] } ;
18171817 }
1818+
18181819 return msg as ApiChatMessageData ;
18191820 } ) ,
18201821 {
@@ -1839,6 +1840,7 @@ class ChatStore {
18391840 // Preserve originalContent exactly as-is, including any trailing whitespace
18401841 // The concatenation naturally preserves any whitespace at the end of originalContent
18411842 const fullContent = originalContent + appendedContent ;
1843+
18421844 this . setConversationStreaming (
18431845 messageToContinue . convId ,
18441846 fullContent ,
@@ -1853,6 +1855,7 @@ class ChatStore {
18531855 onReasoningChunk : ( reasoningChunk : string ) => {
18541856 hasReceivedContent = true ;
18551857 appendedThinking += reasoningChunk ;
1858+
18561859 const fullThinking = originalThinking + appendedThinking ;
18571860
18581861 this . updateMessageAtIndex ( messageIndex , {
@@ -1914,6 +1917,7 @@ class ChatStore {
19141917 this . setConversationLoading ( messageToContinue . convId , false ) ;
19151918 this . clearConversationStreaming ( messageToContinue . convId ) ;
19161919 slotsService . clearConversationState ( messageToContinue . convId ) ;
1920+
19171921 return ;
19181922 }
19191923
You can’t perform that action at this time.
0 commit comments