@xuda.io/ai_module 1.1.3965 → 1.1.3967
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
|
@@ -961,6 +961,7 @@ const get_account_info = async function (uid) {
|
|
|
961
961
|
};
|
|
962
962
|
|
|
963
963
|
const get_user_name = async function (uid) {
|
|
964
|
+
debugger;
|
|
964
965
|
try {
|
|
965
966
|
const account_info = await get_account_info(uid);
|
|
966
967
|
let username = 'unknown';
|
|
@@ -5181,7 +5182,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
5181
5182
|
try {
|
|
5182
5183
|
const obj = { id: output?.output?.[0]?.id, ts: Date.now(), ai_agent_id: output.state._currentAgent.name, attachments };
|
|
5183
5184
|
conversation_doc = await db_module.get_app_couch_doc_native(app_id, conversation_id);
|
|
5184
|
-
|
|
5185
|
+
debugger;
|
|
5185
5186
|
conversation_doc.ts = Date.now();
|
|
5186
5187
|
conversation_doc.stat = 3;
|
|
5187
5188
|
conversation_doc.messages.push(obj);
|