File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -559,14 +559,15 @@ type ChatContent =
559559/**
560560 * Simple text message from the LLM
561561 */
562- interface ChatTextContent extends BaseChatContent {
562+ interface ChatTextContent {
563563 type: ' text' ;
564564
565565 /**
566566 * The unique identifier of this content.
567567 * Mostly used to rollback messages.
568+ * Current, only user messages contain this.
568569 */
569- contentId: string ;
570+ contentId? : string ;
570571
571572 /**
572573 * The text content
Original file line number Diff line number Diff line change 14431443 (let [include (if (seq include)
14441444 (set include)
14451445 ; ; backwards compatibility
1446- [ " messages" " tools" ] )
1446+ #{ " messages" " tools" } )
14471447 all-messages (get-in @db* [:chats chat-id :messages ])
14481448 tool-calls (get-in @db* [:chats chat-id :tool-calls ])
14491449 new-messages (when (contains? include " messages" )
You can’t perform that action at this time.
0 commit comments