@wix/ditto-codegen-public 1.0.180 → 1.0.181

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/dist/out.js +6 -0
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -36567,6 +36567,12 @@ var require_CodegenAIProxyService = __commonJS({
36567
36567
  maxRetries: 3,
36568
36568
  temperature: 0
36569
36569
  });
36570
+ if (response.finishReason === "length") {
36571
+ throw new ditto_codegen_types_12.GenerateObjectError(`Output truncated due to max output tokens limit. Agent: ${payload.agentName}`, {
36572
+ status: 413,
36573
+ statusText: "Output truncated - max tokens reached"
36574
+ });
36575
+ }
36570
36576
  return response;
36571
36577
  };
36572
36578
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.180",
3
+ "version": "1.0.181",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -24,5 +24,5 @@
24
24
  "@wix/ditto-codegen": "1.0.0",
25
25
  "esbuild": "^0.25.9"
26
26
  },
27
- "falconPackageHash": "e8dba8e74db8a8a39dce94ec11ac6c277c9fa845178e72670a580574"
27
+ "falconPackageHash": "151737a032f3a8f5f4f0c4f06b5f3327f6ae413df19d0c5acb41af5d"
28
28
  }