@xuda.io/ai_module 1.1.4815 → 1.1.4817

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 +2 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2529,9 +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
2534
  } catch (error) {
2534
2535
  report_ai_status('vectorStores', error);
2536
+ throw error;
2535
2537
  }
2536
2538
  }
2537
2539
  await save_agent_status(uid, agent_doc._id, 3, agentConfig);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4815",
3
+ "version": "1.1.4817",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",