@zero-library/chat-agent 2.1.14 → 2.1.16
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.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -6
package/dist/index.cjs.js
CHANGED
|
@@ -832,9 +832,9 @@ function createChatStore() {
|
|
|
832
832
|
conversationId
|
|
833
833
|
});
|
|
834
834
|
conversation.messages[conversationId].message = data.items;
|
|
835
|
-
config.hooks?.onAfterInitMessages?.(conversation.messages[conversationId].message);
|
|
836
|
-
config.hooks?.onAfterInit?.();
|
|
837
835
|
}
|
|
836
|
+
config.hooks?.onAfterInitMessages?.(conversation.messages[conversationId].message);
|
|
837
|
+
config.hooks?.onAfterInit?.();
|
|
838
838
|
};
|
|
839
839
|
const pickReceiver = () => {
|
|
840
840
|
const { agent, other } = conversation.active.member;
|