@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
|
@@ -387,6 +387,12 @@ interface OpenaiproxyV1ChatCompletionMessage {
|
|
|
387
387
|
* @maxLength 1000000000
|
|
388
388
|
*/
|
|
389
389
|
content?: string | null;
|
|
390
|
+
/**
|
|
391
|
+
* The refusal message generated by the model. Present (instead of content) when the model declines to answer
|
|
392
|
+
* (e.g. a safety refusal). May be null for normal completions.
|
|
393
|
+
* @maxLength 1000000000
|
|
394
|
+
*/
|
|
395
|
+
refusal?: string | null;
|
|
390
396
|
/**
|
|
391
397
|
* The name of the author of this message. name is required if role is function, and it should be the name of
|
|
392
398
|
* 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.
|
|
@@ -710,6 +716,12 @@ interface V1ChatCompletionMessage {
|
|
|
710
716
|
* @maxLength 1000000000
|
|
711
717
|
*/
|
|
712
718
|
content?: string | null;
|
|
719
|
+
/**
|
|
720
|
+
* The refusal message generated by the model. Present (instead of content) when the model declines to answer
|
|
721
|
+
* (e.g. a safety refusal). May be null for normal completions.
|
|
722
|
+
* @maxLength 1000000000
|
|
723
|
+
*/
|
|
724
|
+
refusal?: string | null;
|
|
713
725
|
/**
|
|
714
726
|
* The name of the author of this message. name is required if role is function, and it should be the name of
|
|
715
727
|
* 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.
|
|
@@ -10996,6 +11008,12 @@ interface ChunkDelta {
|
|
|
10996
11008
|
* @maxSize 100
|
|
10997
11009
|
*/
|
|
10998
11010
|
toolCalls?: ToolCall[];
|
|
11011
|
+
/**
|
|
11012
|
+
* Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
|
|
11013
|
+
* Populated (instead of content) when the model declines to answer.
|
|
11014
|
+
* @maxLength 1000
|
|
11015
|
+
*/
|
|
11016
|
+
refusal?: string | null;
|
|
10999
11017
|
}
|
|
11000
11018
|
interface ChunkChoice {
|
|
11001
11019
|
/** A chat completion delta generated by streamed model responses */
|
|
@@ -11062,6 +11080,12 @@ interface ChatCompletionChunkChunkChoiceChunkDelta {
|
|
|
11062
11080
|
* @maxSize 100
|
|
11063
11081
|
*/
|
|
11064
11082
|
toolCalls?: V1ChatCompletionMessageToolCall[];
|
|
11083
|
+
/**
|
|
11084
|
+
* Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
|
|
11085
|
+
* Populated (instead of content) when the model declines to answer.
|
|
11086
|
+
* @maxLength 1000
|
|
11087
|
+
*/
|
|
11088
|
+
refusal?: string | null;
|
|
11065
11089
|
}
|
|
11066
11090
|
interface V1ChatCompletionChunkChunkChoice {
|
|
11067
11091
|
/** A chat completion delta generated by streamed model responses */
|
|
@@ -13669,6 +13693,12 @@ interface TraceParams {
|
|
|
13669
13693
|
removeBg?: boolean;
|
|
13670
13694
|
detectGradients?: boolean;
|
|
13671
13695
|
removeColor?: boolean;
|
|
13696
|
+
invert?: boolean;
|
|
13697
|
+
scale?: number;
|
|
13698
|
+
/** @maxLength 7 */
|
|
13699
|
+
bgColor?: string;
|
|
13700
|
+
speckleSize?: number;
|
|
13701
|
+
optimizeCurves?: boolean;
|
|
13672
13702
|
}
|
|
13673
13703
|
interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageResponseResponseOneOf {
|
|
13674
13704
|
/** Photoroom remove background response */
|
|
@@ -3152,7 +3152,8 @@ function editImage(payload) {
|
|
|
3152
3152
|
{
|
|
3153
3153
|
path: "montracerProxyTraceRequest.traceRequest.params.simplifyTolerance"
|
|
3154
3154
|
},
|
|
3155
|
-
{ path: "montracerProxyTraceRequest.traceRequest.params.gapFix" }
|
|
3155
|
+
{ path: "montracerProxyTraceRequest.traceRequest.params.gapFix" },
|
|
3156
|
+
{ path: "montracerProxyTraceRequest.traceRequest.params.scale" }
|
|
3156
3157
|
]
|
|
3157
3158
|
},
|
|
3158
3159
|
{
|