@breign/client 1.0.50 → 1.0.52
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.
|
@@ -21,6 +21,12 @@ export interface MessageUio {
|
|
|
21
21
|
* @memberof MessageUio
|
|
22
22
|
*/
|
|
23
23
|
message: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether to activate incremental generation of the response
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof MessageUio
|
|
28
|
+
*/
|
|
29
|
+
stream?: boolean;
|
|
24
30
|
}
|
|
25
31
|
/**
|
|
26
32
|
* Check if a given object implements the MessageUio interface.
|
|
@@ -35,6 +35,7 @@ function MessageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'message': json['message'],
|
|
38
|
+
'stream': json['stream'] == null ? undefined : json['stream'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
function MessageUioToJSON(json) {
|
|
@@ -46,5 +47,6 @@ function MessageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
46
47
|
}
|
|
47
48
|
return {
|
|
48
49
|
'message': value['message'],
|
|
50
|
+
'stream': value['stream'],
|
|
49
51
|
};
|
|
50
52
|
}
|
|
@@ -33,6 +33,12 @@ export interface PromptCreateRequestUio {
|
|
|
33
33
|
* @memberof PromptCreateRequestUio
|
|
34
34
|
*/
|
|
35
35
|
message: string;
|
|
36
|
+
/**
|
|
37
|
+
* Whether to activate incremental generation of the response
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof PromptCreateRequestUio
|
|
40
|
+
*/
|
|
41
|
+
stream?: boolean;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the PromptCreateRequestUio interface.
|
|
@@ -39,6 +39,7 @@ function PromptCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'lang': json['lang'],
|
|
40
40
|
'customUserId': json['customUserId'] == null ? undefined : json['customUserId'],
|
|
41
41
|
'message': json['message'],
|
|
42
|
+
'stream': json['stream'] == null ? undefined : json['stream'],
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
45
|
function PromptCreateRequestUioToJSON(json) {
|
|
@@ -52,5 +53,6 @@ function PromptCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
52
53
|
'lang': value['lang'],
|
|
53
54
|
'customUserId': value['customUserId'],
|
|
54
55
|
'message': value['message'],
|
|
56
|
+
'stream': value['stream'],
|
|
55
57
|
};
|
|
56
58
|
}
|
package/dist/openapi.json
CHANGED
|
@@ -9173,6 +9173,10 @@
|
|
|
9173
9173
|
"properties" : {
|
|
9174
9174
|
"message" : {
|
|
9175
9175
|
"type" : "string"
|
|
9176
|
+
},
|
|
9177
|
+
"stream" : {
|
|
9178
|
+
"description" : "Whether to activate incremental generation of the response",
|
|
9179
|
+
"type" : "boolean"
|
|
9176
9180
|
}
|
|
9177
9181
|
},
|
|
9178
9182
|
"required" : [ "message" ],
|
|
@@ -9270,6 +9274,10 @@
|
|
|
9270
9274
|
"message" : {
|
|
9271
9275
|
"description" : "Message to send to the conversation",
|
|
9272
9276
|
"type" : "string"
|
|
9277
|
+
},
|
|
9278
|
+
"stream" : {
|
|
9279
|
+
"description" : "Whether to activate incremental generation of the response",
|
|
9280
|
+
"type" : "boolean"
|
|
9273
9281
|
}
|
|
9274
9282
|
},
|
|
9275
9283
|
"required" : [ "message" ],
|