@xuda.io/ai_module 1.1.5202 → 1.1.5204
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/index.mjs +3 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4189,7 +4189,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4189
4189
|
});
|
|
4190
4190
|
};
|
|
4191
4191
|
|
|
4192
|
-
const suggestionsPromise = activate_prompt_suggestions ? get_chat_suggestions({ uid, ai_agents, conversation_item_id: out_conversation_item_save_ret.data.id, context: prompt }) : Promise.resolve(null);
|
|
4192
|
+
// const suggestionsPromise = activate_prompt_suggestions ? get_chat_suggestions({ uid, ai_agents, conversation_item_id: out_conversation_item_save_ret.data.id, context: prompt }) : Promise.resolve(null);
|
|
4193
4193
|
|
|
4194
4194
|
conversation_doc.stat = 2;
|
|
4195
4195
|
conversation_doc.ts = Date.now();
|
|
@@ -4718,7 +4718,8 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4718
4718
|
|
|
4719
4719
|
if (activate_prompt_suggestions) {
|
|
4720
4720
|
// 2. Now wait for it specifically
|
|
4721
|
-
|
|
4721
|
+
debugger;
|
|
4722
|
+
const prompt_suggestions_ret = await get_prompt_suggestions(); // suggestionsPromise;
|
|
4722
4723
|
|
|
4723
4724
|
if (prompt_suggestions_ret && prompt_suggestions_ret.code > -1) {
|
|
4724
4725
|
prompt_suggestions = prompt_suggestions_ret.data;
|