@xuda.io/ai_module 1.1.5352 → 1.1.5353
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 +1 -1
- 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 });
|