@xuda.io/ai_module 1.1.5189 → 1.1.5191
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 +3 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -10924,8 +10924,9 @@ export const open_ai_alive_check = async function () {};
|
|
|
10924
10924
|
// };
|
|
10925
10925
|
|
|
10926
10926
|
export const get_chat_suggestions = async function (req) {
|
|
10927
|
-
const { uid,
|
|
10928
|
-
|
|
10927
|
+
const { uid, conversation_item_id, no_of_suggestions = 3, ai_model = _conf.default_ai_model } = req;
|
|
10928
|
+
let { ai_agents } = req;
|
|
10929
|
+
|
|
10929
10930
|
try {
|
|
10930
10931
|
const account_profile_info = await get_active_account_profile_info(uid);
|
|
10931
10932
|
const account_doc = await db_module.get_couch_doc_native('xuda_accounts', uid);
|