@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 +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -570,6 +570,7 @@ function useChat(threadId, assistantId, options = {}) {
|
|
|
570
570
|
chunkMessageMerger.current.removeMessageById(lastMessage.id);
|
|
571
571
|
const stopResumeStream = client.resumeStream(
|
|
572
572
|
{
|
|
573
|
+
assistantId,
|
|
573
574
|
threadId,
|
|
574
575
|
messageId: lastMessage.id,
|
|
575
576
|
knownContent: "",
|
|
@@ -1896,6 +1897,7 @@ function AgentThreadProvider({
|
|
|
1896
1897
|
error: null
|
|
1897
1898
|
}));
|
|
1898
1899
|
const resumeStreamOptions = {
|
|
1900
|
+
assistantId: assistantId || clientAssistantId,
|
|
1899
1901
|
threadId,
|
|
1900
1902
|
messageId: targetMessageId,
|
|
1901
1903
|
knownContent: "",
|