@xuda.io/ai_module 1.1.5170 → 1.1.5172
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 +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1117,7 +1117,7 @@ export const get_chat_conversation = async function (req) {
|
|
|
1117
1117
|
conversation_item_doc.read[uid] = Date.now();
|
|
1118
1118
|
await db_module.save_app_couch_doc(account_profile_info.app_id, conversation_item_doc);
|
|
1119
1119
|
}
|
|
1120
|
-
|
|
1120
|
+
debugger;
|
|
1121
1121
|
return { code: 15, data: { conversation: conversation_items, ...conversation_doc } };
|
|
1122
1122
|
} catch (err) {
|
|
1123
1123
|
return { code: -15, data: err.message };
|
|
@@ -4646,6 +4646,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
4646
4646
|
modelSettings,
|
|
4647
4647
|
});
|
|
4648
4648
|
if (eligible_agent) {
|
|
4649
|
+
// allow read only agents if not ai_agent scope
|
|
4649
4650
|
init_agent_hooks(agent);
|
|
4650
4651
|
list.push(agent);
|
|
4651
4652
|
}
|