@xuda.io/ai_module 1.1.3808 → 1.1.3809

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3993,7 +3993,7 @@ export const submit_chat_gpt_prompt = async function (req) {
3993
3993
  },
3994
3994
  });
3995
3995
 
3996
- return { code: 5, data: response.output_text };
3996
+ return { code: 5, data: response.output_text, usage: response.usage };
3997
3997
  } catch (err) {
3998
3998
  return { code: -5, data: err.message };
3999
3999
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3808",
3
+ "version": "1.1.3809",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",