@xuda.io/ai_module 1.1.5387 → 1.1.5389
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 +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4735,9 +4735,10 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4735
4735
|
};
|
|
4736
4736
|
|
|
4737
4737
|
const render_prompt_suggestions = async function () {
|
|
4738
|
+
emitToDashboard('stream_phase', 'Waiting for user selections', { allow_skip: true });
|
|
4738
4739
|
return new Promise(async (resolve, reject) => {
|
|
4739
4740
|
let counter = 0;
|
|
4740
|
-
emitToDashboard('suggestions', JSON.stringify(prompt_suggestions), { countdown: true
|
|
4741
|
+
emitToDashboard('suggestions', JSON.stringify(prompt_suggestions), { countdown: true });
|
|
4741
4742
|
let interval = setInterval(async function () {
|
|
4742
4743
|
counter++;
|
|
4743
4744
|
const job_info = await jobs_ms.get_job_info({ job_id });
|