@xuda.io/ai_module 1.1.3594 → 1.1.3596
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 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4911,7 +4911,7 @@ setTimeout(async () => {
|
|
|
4911
4911
|
|
|
4912
4912
|
// await init_studio_units();
|
|
4913
4913
|
let ret;
|
|
4914
|
-
|
|
4914
|
+
ret = await delete_depended_chats(uid);
|
|
4915
4915
|
// ret = await run_plugin(app_id, uid, '@xuda.io/xuda-library-plugin-studio-ai-app-builder', 'table_builder', { name: 'test2', prompt: 'build items table', save: true });
|
|
4916
4916
|
// ret = await run_plugin(app_id, uid, '@xuda.io/xuda-library-plugin-studio-ai-app-builder', 'folder_builder', { name: 'test', prompt: 'build boaz folder', save: true, parentId: 'programs' });
|
|
4917
4917
|
// ret = await run_plugin(app_id, uid, '@xuda.io/xuda-library-plugin-studio-ai-app-builder', 'alert_builder', { name: 'hero', prompt: 'build warning alert', save: true, parentId: 'programs', alert_display: 'modal', alert_type: 'warning', alert_title: 'hey' });
|
|
@@ -5698,7 +5698,7 @@ export const modify_profile_avatar = async function (req, job_id, headers) {
|
|
|
5698
5698
|
}
|
|
5699
5699
|
};
|
|
5700
5700
|
|
|
5701
|
-
const delete_depended_chats = async function (uid, reference_id) {
|
|
5702
|
-
const chats_ret = await get_ai_chats({ uid, reference_id }
|
|
5701
|
+
const delete_depended_chats = async function (uid, reference_id = '27c_agn_d4b7cc16601c') {
|
|
5702
|
+
const chats_ret = await get_ai_chats({ uid, reference_id });
|
|
5703
5703
|
console.log(chats_ret);
|
|
5704
5704
|
};
|