@xuda.io/ai_module 1.1.5352 → 1.1.5354

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 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4735,7 +4735,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4735
4735
  const render_suggestions = async function () {
4736
4736
  return new Promise(async (resolve, reject) => {
4737
4737
  let counter = 0;
4738
- emitToDashboard('suggestions', JSON.stringify(prompt_suggestions));
4738
+ emitToDashboard('suggestions', JSON.stringify(prompt_suggestions), { countdown: true });
4739
4739
  let interval = setInterval(async function () {
4740
4740
  counter++;
4741
4741
  const job_info = await jobs_ms.get_job_info({ job_id });
@@ -4922,7 +4922,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4922
4922
  // },
4923
4923
  // };
4924
4924
  };
4925
-
4925
+ debugger;
4926
4926
  if (stream) {
4927
4927
  const output_stream = output.toTextStream({
4928
4928
  compatibleWithNodeStreams: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5352",
3
+ "version": "1.1.5354",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",