@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.
- package/build/cjs/index.d.ts +30 -0
- package/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +2 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +30 -0
- package/build/cjs/meta.js +2 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +30 -0
- package/build/es/index.mjs +2 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +2 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +30 -0
- package/build/es/meta.mjs +2 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +2 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +30 -0
- package/build/internal/cjs/index.typings.js +2 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +30 -0
- package/build/internal/cjs/meta.js +2 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +2 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +30 -0
- package/build/internal/es/index.typings.mjs +2 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +30 -0
- package/build/internal/es/meta.mjs +2 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -389,6 +389,12 @@ interface OpenaiproxyV1ChatCompletionMessage {
|
|
|
389
389
|
* @maxLength 1000000000
|
|
390
390
|
*/
|
|
391
391
|
content?: string | null;
|
|
392
|
+
/**
|
|
393
|
+
* The refusal message generated by the model. Present (instead of content) when the model declines to answer
|
|
394
|
+
* (e.g. a safety refusal). May be null for normal completions.
|
|
395
|
+
* @maxLength 1000000000
|
|
396
|
+
*/
|
|
397
|
+
refusal?: string | null;
|
|
392
398
|
/**
|
|
393
399
|
* The name of the author of this message. name is required if role is function, and it should be the name of
|
|
394
400
|
* 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.
|
|
@@ -712,6 +718,12 @@ interface V1ChatCompletionMessage {
|
|
|
712
718
|
* @maxLength 1000000000
|
|
713
719
|
*/
|
|
714
720
|
content?: string | null;
|
|
721
|
+
/**
|
|
722
|
+
* The refusal message generated by the model. Present (instead of content) when the model declines to answer
|
|
723
|
+
* (e.g. a safety refusal). May be null for normal completions.
|
|
724
|
+
* @maxLength 1000000000
|
|
725
|
+
*/
|
|
726
|
+
refusal?: string | null;
|
|
715
727
|
/**
|
|
716
728
|
* The name of the author of this message. name is required if role is function, and it should be the name of
|
|
717
729
|
* 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.
|
|
@@ -10998,6 +11010,12 @@ interface ChunkDelta {
|
|
|
10998
11010
|
* @maxSize 100
|
|
10999
11011
|
*/
|
|
11000
11012
|
toolCalls?: ToolCall[];
|
|
11013
|
+
/**
|
|
11014
|
+
* Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
|
|
11015
|
+
* Populated (instead of content) when the model declines to answer.
|
|
11016
|
+
* @maxLength 1000
|
|
11017
|
+
*/
|
|
11018
|
+
refusal?: string | null;
|
|
11001
11019
|
}
|
|
11002
11020
|
interface ChunkChoice {
|
|
11003
11021
|
/** A chat completion delta generated by streamed model responses */
|
|
@@ -11064,6 +11082,12 @@ interface ChatCompletionChunkChunkChoiceChunkDelta {
|
|
|
11064
11082
|
* @maxSize 100
|
|
11065
11083
|
*/
|
|
11066
11084
|
toolCalls?: V1ChatCompletionMessageToolCall[];
|
|
11085
|
+
/**
|
|
11086
|
+
* Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
|
|
11087
|
+
* Populated (instead of content) when the model declines to answer.
|
|
11088
|
+
* @maxLength 1000
|
|
11089
|
+
*/
|
|
11090
|
+
refusal?: string | null;
|
|
11067
11091
|
}
|
|
11068
11092
|
interface V1ChatCompletionChunkChunkChoice {
|
|
11069
11093
|
/** A chat completion delta generated by streamed model responses */
|
|
@@ -13671,6 +13695,12 @@ interface TraceParams {
|
|
|
13671
13695
|
removeBg?: boolean;
|
|
13672
13696
|
detectGradients?: boolean;
|
|
13673
13697
|
removeColor?: boolean;
|
|
13698
|
+
invert?: boolean;
|
|
13699
|
+
scale?: number;
|
|
13700
|
+
/** @maxLength 7 */
|
|
13701
|
+
bgColor?: string;
|
|
13702
|
+
speckleSize?: number;
|
|
13703
|
+
optimizeCurves?: boolean;
|
|
13674
13704
|
}
|
|
13675
13705
|
interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageResponseResponseOneOf {
|
|
13676
13706
|
/** Photoroom remove background response */
|
|
@@ -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
|
{
|