@xuda.io/ai_module 1.1.5175 → 1.1.5177

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
@@ -3448,10 +3448,13 @@ export const submit_chat_gpt_prompt = async function (req) {
3448
3448
  format: formattedParams,
3449
3449
  },
3450
3450
  };
3451
+ if (conversation_id) {
3452
+ opt.conversationId = conversation_id;
3453
+ }
3451
3454
  if (response_id) {
3452
3455
  opt.previous_response_id = response_id;
3453
3456
  }
3454
- response = await client.responses.create(ot);
3457
+ response = await client.responses.create(opt);
3455
3458
  report_ai_status(model);
3456
3459
  } catch (err) {
3457
3460
  report_ai_status(model, err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.5175",
3
+ "version": "1.1.5177",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",