@wix/auto_sdk_ai-gateway_generators 1.0.115 → 1.0.116

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.
@@ -388,6 +388,12 @@ interface OpenaiproxyV1ChatCompletionMessage {
388
388
  * @maxLength 1000000000
389
389
  */
390
390
  content?: string | null;
391
+ /**
392
+ * The refusal message generated by the model. Present (instead of content) when the model declines to answer
393
+ * (e.g. a safety refusal). May be null for normal completions.
394
+ * @maxLength 1000000000
395
+ */
396
+ refusal?: string | null;
391
397
  /**
392
398
  * The name of the author of this message. name is required if role is function, and it should be the name of
393
399
  * the function whose response is in the content. May contain a-z, A-Z, 0-9, and underscores, with a maximum length of 64 characters.
@@ -711,6 +717,12 @@ interface V1ChatCompletionMessage {
711
717
  * @maxLength 1000000000
712
718
  */
713
719
  content?: string | null;
720
+ /**
721
+ * The refusal message generated by the model. Present (instead of content) when the model declines to answer
722
+ * (e.g. a safety refusal). May be null for normal completions.
723
+ * @maxLength 1000000000
724
+ */
725
+ refusal?: string | null;
714
726
  /**
715
727
  * The name of the author of this message. name is required if role is function, and it should be the name of
716
728
  * the function whose response is in the content. May contain a-z, A-Z, 0-9, and underscores, with a maximum length of 64 characters.
@@ -10997,6 +11009,12 @@ interface ChunkDelta {
10997
11009
  * @maxSize 100
10998
11010
  */
10999
11011
  toolCalls?: ToolCall[];
11012
+ /**
11013
+ * Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
11014
+ * Populated (instead of content) when the model declines to answer.
11015
+ * @maxLength 1000
11016
+ */
11017
+ refusal?: string | null;
11000
11018
  }
11001
11019
  interface ChunkChoice {
11002
11020
  /** A chat completion delta generated by streamed model responses */
@@ -11063,6 +11081,12 @@ interface ChatCompletionChunkChunkChoiceChunkDelta {
11063
11081
  * @maxSize 100
11064
11082
  */
11065
11083
  toolCalls?: V1ChatCompletionMessageToolCall[];
11084
+ /**
11085
+ * Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
11086
+ * Populated (instead of content) when the model declines to answer.
11087
+ * @maxLength 1000
11088
+ */
11089
+ refusal?: string | null;
11066
11090
  }
11067
11091
  interface V1ChatCompletionChunkChunkChoice {
11068
11092
  /** A chat completion delta generated by streamed model responses */
@@ -13670,6 +13694,12 @@ interface TraceParams {
13670
13694
  removeBg?: boolean;
13671
13695
  detectGradients?: boolean;
13672
13696
  removeColor?: boolean;
13697
+ invert?: boolean;
13698
+ scale?: number;
13699
+ /** @maxLength 7 */
13700
+ bgColor?: string;
13701
+ speckleSize?: number;
13702
+ optimizeCurves?: boolean;
13673
13703
  }
13674
13704
  interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageResponseResponseOneOf {
13675
13705
  /** Photoroom remove background response */
package/build/cjs/meta.js CHANGED
@@ -3299,7 +3299,8 @@ function editImage(payload) {
3299
3299
  {
3300
3300
  path: "montracerProxyTraceRequest.traceRequest.params.simplifyTolerance"
3301
3301
  },
3302
- { path: "montracerProxyTraceRequest.traceRequest.params.gapFix" }
3302
+ { path: "montracerProxyTraceRequest.traceRequest.params.gapFix" },
3303
+ { path: "montracerProxyTraceRequest.traceRequest.params.scale" }
3303
3304
  ]
3304
3305
  },
3305
3306
  {