@xuda.io/ai_module 1.1.4065 → 1.1.4067
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 +2 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5126,6 +5126,7 @@ setTimeout(async () => {
|
|
|
5126
5126
|
|
|
5127
5127
|
// await init_studio_units();
|
|
5128
5128
|
let ret;
|
|
5129
|
+
ret = await is_spam_email(uid, 'dsgr8-2994400420@gigs.craigslist.org');
|
|
5129
5130
|
// ret = await delete_depended_chats(uid);
|
|
5130
5131
|
// 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 });
|
|
5131
5132
|
// 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' });
|
|
@@ -6516,4 +6517,5 @@ export const is_spam_email = async function (uid, email, content) {
|
|
|
6516
6517
|
}),
|
|
6517
6518
|
metadata: { func: 'is_spam_email' },
|
|
6518
6519
|
});
|
|
6520
|
+
return is_spam;
|
|
6519
6521
|
};
|