@xuda.io/ai_module 1.1.4293 → 1.1.4294
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 +7 -6
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -6735,10 +6735,11 @@ const get_business_logo = async function (uid, name, facts, account_profile_info
|
|
|
6735
6735
|
account_profile_info,
|
|
6736
6736
|
tools: [{ type: 'web_search_preview' }],
|
|
6737
6737
|
});
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
}
|
|
6738
|
+
console.log(ret)
|
|
6739
|
+
// try {
|
|
6740
|
+
// if (ret.code > -1) {
|
|
6741
|
+
// const data = JSON.parse(ret.data);
|
|
6742
|
+
// return data.is_business;
|
|
6743
|
+
// }
|
|
6744
|
+
// } catch (error) {}
|
|
6744
6745
|
};
|