@xuda.io/ai_module 1.1.5279 → 1.1.5280
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
|
@@ -11025,7 +11025,7 @@ export const open_ai_alive_check = async function () {};
|
|
|
11025
11025
|
export const get_chat_suggestions = async function (req) {
|
|
11026
11026
|
//type = 'chat prompt'
|
|
11027
11027
|
const { type = 'chat response', uid, conversation_item_id, no_of_suggestions = 3, ai_model = _conf.default_ai_model, context } = req;
|
|
11028
|
-
let { ai_agents
|
|
11028
|
+
let { ai_agents, exclude_agents = [] } = req;
|
|
11029
11029
|
|
|
11030
11030
|
try {
|
|
11031
11031
|
const account_profile_info = await get_active_account_profile_info(uid);
|