@websolutespa/bom-llm 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @websolutespa/bom-llm
2
2
 
3
+ ## 0.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixing: setHistory threadId
8
+
3
9
  ## 0.1.4
4
10
 
5
11
  ### Patch Changes
package/dist/esm/index.js CHANGED
@@ -44000,6 +44000,7 @@ const createLlmStore = config => {
44000
44000
  setHistory: history => {
44001
44001
  // console.log('setHistory', history);
44002
44002
  set(state => ({
44003
+ threadId: history.threadId,
44003
44004
  message: history.assistant,
44004
44005
  messages: state.messages.findIndex(x => x.messageId === history.messageId) === -1 ? [...state.messages, history.user, history.assistant] : state.messages
44005
44006
  }));