@xuda.io/ai_module 1.1.4303 → 1.1.4305
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
|
@@ -6738,7 +6738,9 @@ const get_business_logo = async function (uid, name, account_profile_info) {
|
|
|
6738
6738
|
console.log('=============', ret);
|
|
6739
6739
|
|
|
6740
6740
|
const url = ret.data;
|
|
6741
|
+
const file = await return_image_blob_from_downloaded_image(url);
|
|
6741
6742
|
|
|
6743
|
+
console.log(file);
|
|
6742
6744
|
// prompt: `find "${name}" logo base on the following facts "${facts}", Return only png,jpg img tag , nothing else`,
|
|
6743
6745
|
// try {
|
|
6744
6746
|
// if (ret.code > -1) {
|