@xuda.io/ai_module 1.1.5141 → 1.1.5143
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4159,6 +4159,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4159
4159
|
await update_job('initiating conversation');
|
|
4160
4160
|
let prompt_suggestions = [];
|
|
4161
4161
|
setTimeout(async () => {
|
|
4162
|
+
debugger;
|
|
4162
4163
|
const prompt_suggestions_ret = await get_chat_suggestions(uid, ai_agents, out_conversation_item_save_ret.data.id);
|
|
4163
4164
|
if (prompt_suggestions_ret.code > -1) prompt_suggestions = prompt_suggestions_ret.data;
|
|
4164
4165
|
}, 1);
|
|
@@ -4643,6 +4644,8 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4643
4644
|
emitToDashboard('stream_delta', `${suggestion.short_action}`);
|
|
4644
4645
|
}
|
|
4645
4646
|
};
|
|
4647
|
+
|
|
4648
|
+
debugger;
|
|
4646
4649
|
// try {
|
|
4647
4650
|
const runner = new Runner();
|
|
4648
4651
|
let _agent = [];
|