@xuda.io/ai_module 1.1.4814 → 1.1.4816

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.
Files changed (2) hide show
  1. package/index.mjs +4 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2529,8 +2529,11 @@ const upload_agent_files = async function (uid, agent_doc) {
2529
2529
  const ret = await client.vectorStores.files.create(_conf.OPENAI_VECTOR_STORE_ID, {
2530
2530
  file_id: tool.youtube.file_id,
2531
2531
  });
2532
+ report_ai_status('vectorStores');
2532
2533
  tool.youtube.vector_store_id = ret.vector_store_id;
2533
- } catch (error) {}
2534
+ } catch (error) {
2535
+ report_ai_status('vectorStores', error);
2536
+ }
2534
2537
  }
2535
2538
  await save_agent_status(uid, agent_doc._id, 3, agentConfig);
2536
2539
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4814",
3
+ "version": "1.1.4816",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",