@xuda.io/ai_module 1.1.3830 → 1.1.3832
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5004,7 +5004,7 @@ const ai_chat_conversation = async function (req, job_id, headers) {
|
|
|
5004
5004
|
// console.log(items.data);
|
|
5005
5005
|
|
|
5006
5006
|
conversation_doc = await db_module.get_app_couch_doc_native(app_id, conversation_id);
|
|
5007
|
-
|
|
5007
|
+
debugger;
|
|
5008
5008
|
conversation_doc.ts = Date.now();
|
|
5009
5009
|
conversation_doc.stat = 2;
|
|
5010
5010
|
conversation_doc.message = [...conversation_doc.message, ...system_message_items];
|
|
@@ -6246,7 +6246,6 @@ const create_ai_agent_image = async function (req, job_id, headers) {
|
|
|
6246
6246
|
|
|
6247
6247
|
const record_chat_usage = async function (uid, input_tokens, output_tokens, source, prompt) {
|
|
6248
6248
|
try {
|
|
6249
|
-
debugger;
|
|
6250
6249
|
const app_id = await account_module.get_account_default_project_id(uid);
|
|
6251
6250
|
|
|
6252
6251
|
const t = Date.now();
|