@xuda.io/ai_module 1.1.3748 → 1.1.3749
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1700,7 +1700,9 @@ 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
|
+
return await get_studio_doc({ uid, _id });
|
|
1705
|
+
}
|
|
1704
1706
|
|
|
1705
1707
|
try {
|
|
1706
1708
|
const project_db = await get_account_project_db(uid);
|