@xuda.io/ai_module 1.1.4189 → 1.1.4190
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 +0 -10
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2081,16 +2081,6 @@ const get_studio_doc = async function (req) {
|
|
|
2081
2081
|
} catch (err) {
|
|
2082
2082
|
return { code: -7, data: err.message };
|
|
2083
2083
|
}
|
|
2084
|
-
|
|
2085
|
-
// const db = get_xuda_couch('xuda_contacts');
|
|
2086
|
-
|
|
2087
|
-
// try {
|
|
2088
|
-
// let data = await db.get(_id);
|
|
2089
|
-
// if (!['ai_agent', 'chat_conversation'].includes(data.docType)) throw new Error('doctype not supported');
|
|
2090
|
-
// return { code: 1, data };
|
|
2091
|
-
// } catch (err) {
|
|
2092
|
-
// return { code: -1, data: err.message };
|
|
2093
|
-
// }
|
|
2094
2084
|
};
|
|
2095
2085
|
|
|
2096
2086
|
export const get_ai_agent_info = async function (uid, job_id, headers, doc, from_marketplace) {
|