@xuda.io/ai_module 1.1.5248 → 1.1.5249
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
|
@@ -11033,7 +11033,7 @@ export const open_ai_alive_check = async function () {};
|
|
|
11033
11033
|
|
|
11034
11034
|
export const get_chat_suggestions = async function (req) {
|
|
11035
11035
|
const { uid, conversation_item_id, no_of_suggestions = 3, ai_model = _conf.default_ai_model, context, exclude_agents = [] } = req;
|
|
11036
|
-
let { ai_agents } = req;
|
|
11036
|
+
let { ai_agents = [] } = req;
|
|
11037
11037
|
|
|
11038
11038
|
try {
|
|
11039
11039
|
const account_profile_info = await get_active_account_profile_info(uid);
|