@xuda.io/ai_module 1.1.3748 → 1.1.3750
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 +9 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1700,7 +1700,15 @@ export const submit_agentic_studio_chat_gpt_prompt = async function (req) {
|
|
|
1700
1700
|
export const get_chat_conversation = async function (req) {
|
|
1701
1701
|
let { conversation_id, order = 'asc', limit, after, _id, uid } = req;
|
|
1702
1702
|
|
|
1703
|
-
if (_id)
|
|
1703
|
+
if (_id) {
|
|
1704
|
+
|
|
1705
|
+
const app_id = await account_module.get_account_default_project_id(uid);
|
|
1706
|
+
try {
|
|
1707
|
+
let data = await db_module.get_app_couch_doc_native(app_id, _id);
|
|
1708
|
+
return { code: 7, data };
|
|
1709
|
+
|
|
1710
|
+
|
|
1711
|
+
}
|
|
1704
1712
|
|
|
1705
1713
|
try {
|
|
1706
1714
|
const project_db = await get_account_project_db(uid);
|