@axiom-lattice/react-sdk 2.1.55 → 2.1.56

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/dist/index.js CHANGED
@@ -668,6 +668,7 @@ function useChat(threadId, assistantId, options = {}) {
668
668
  chunkMessageMerger.current.removeMessageById(lastMessage.id);
669
669
  const stopResumeStream = client.resumeStream(
670
670
  {
671
+ assistantId,
671
672
  threadId,
672
673
  messageId: lastMessage.id,
673
674
  knownContent: "",
@@ -1965,6 +1966,7 @@ function AgentThreadProvider({
1965
1966
  error: null
1966
1967
  }));
1967
1968
  const resumeStreamOptions = {
1969
+ assistantId: assistantId || clientAssistantId,
1968
1970
  threadId,
1969
1971
  messageId: targetMessageId,
1970
1972
  knownContent: "",