@xuda.io/ai_module 1.1.5245 → 1.1.5247

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4183,6 +4183,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4183
4183
  let prompt_suggestions = [];
4184
4184
 
4185
4185
  const get_prompt_suggestions = async function () {
4186
+ emitToDashboard('Deep thinking...', text);
4186
4187
  return new Promise(async (resolve, reject) => {
4187
4188
  let interval = setInterval(async function () {
4188
4189
  const job_info = await jobs_ms.get_job_info({ job_id });
@@ -4203,6 +4204,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
4203
4204
  };
4204
4205
 
4205
4206
  const render_output_suggestions = async function (response_conversation_item_id) {
4207
+ debugger;
4206
4208
  console.log('prompt_suggestions', prompt_suggestions);
4207
4209
  const agentIds = prompt_suggestions.map((agent) => agent.agent_id);
4208
4210
  const ret = await get_chat_suggestions({ uid, ai_agents, conversation_item_id: response_conversation_item_id, exclude_agents: agentIds });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5245",
3
+ "version": "1.1.5247",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",