@xuda.io/ai_module 1.1.4848 → 1.1.4850

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 +5 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -79,7 +79,9 @@ try {
79
79
  });
80
80
 
81
81
  console.log('chat-gpt client initiated..OK');
82
- } catch (err) {}
82
+ } catch (err) {
83
+ report_ai_status('init', err);
84
+ }
83
85
  const model = 'gpt-5-nano';
84
86
 
85
87
  // var studio_units = {};
@@ -2799,7 +2801,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
2799
2801
 
2800
2802
  result example:
2801
2803
 
2802
- const loanStepper = [
2804
+ [
2803
2805
  {
2804
2806
  step: 1,
2805
2807
  title: "Core Loan Details",
@@ -2824,7 +2826,7 @@ export const update_ai_agent_properties = async function (doc, app_id, uid, fiel
2824
2826
  description: "Finalize your calculation with extra payments or schedules.",
2825
2827
  fields: ["extra_payments", "amortization_schedule"]
2826
2828
  }
2827
- ];
2829
+ ]
2828
2830
 
2829
2831
  `,
2830
2832
  model: 'gpt-5-nano',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4848",
3
+ "version": "1.1.4850",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",