@xuda.io/ai_module 1.1.5371 → 1.1.5373

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.
Files changed (2) hide show
  1. package/index.mjs +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3748,7 +3748,7 @@ export const submit_chat_conversation = async function (req, job_id, headers) {
3748
3748
  conversation_doc.conversation_item_id = ret.data.id;
3749
3749
  await db_module.save_app_couch_doc(account_profile_info.app_id, conversation_doc);
3750
3750
  }
3751
-
3751
+ debugger;
3752
3752
  return ret;
3753
3753
  } catch (err) {
3754
3754
  return { code: -14, data: err.message || String(err) };
@@ -4965,6 +4965,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4965
4965
  buffer += chunk;
4966
4966
  }
4967
4967
  // console.log('string_debug', string_debug);
4968
+ emitToDashboard('stream_end');
4968
4969
  }
4969
4970
  // else {
4970
4971
  // await update_job('finalizing');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5371",
3
+ "version": "1.1.5373",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",