@xuda.io/ai_module 1.1.5113 → 1.1.5115
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
|
@@ -10889,7 +10889,7 @@ export const get_chat_suggestions = async function (uid, ai_agents, conversation
|
|
|
10889
10889
|
ai_agent_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, ai_agent_doc.studio_meta.share_item_id);
|
|
10890
10890
|
ai_agent_doc.reference_doc = reference_doc;
|
|
10891
10891
|
}
|
|
10892
|
-
list.push(ai_agent_doc);
|
|
10892
|
+
list.push({ agent_name: ai_agent_doc.properties.menuName, agent_category: ai_agent_doc.studio_meta.agent_category, agent_industry: ai_agent_doc.studio_meta.agent_industry, agent_instructions: agentConfig?.agent_instructions });
|
|
10893
10893
|
} catch (err) {
|
|
10894
10894
|
throw new Error(err.message);
|
|
10895
10895
|
}
|