@zero-library/chat-agent 2.2.16 → 2.2.18
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 +1 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -712,6 +712,7 @@ function createChatStore() {
|
|
|
712
712
|
}
|
|
713
713
|
};
|
|
714
714
|
const getQuestionList = async (conversationId, messageId) => {
|
|
715
|
+
if (receiver.active.feature?.prompts === false) return;
|
|
715
716
|
const messages = conversation.messages[conversationId]?.message;
|
|
716
717
|
if (!messages?.length) return;
|
|
717
718
|
let lastMessage = messages[messages.length - 1];
|