@breign/client 1.0.63 → 1.0.65
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/dist/models/ChatMessageUio.d.ts +6 -0
- package/dist/models/ChatMessageUio.js +2 -0
- package/dist/models/ChatMessageWithFlowNodeUio.d.ts +6 -0
- package/dist/models/ChatMessageWithFlowNodeUio.js +2 -0
- package/dist/models/ChatUio.d.ts +6 -0
- package/dist/models/ChatUio.js +2 -0
- package/dist/models/ProviderTypeUio.d.ts +2 -0
- package/dist/models/ProviderTypeUio.js +3 -1
- package/dist/openapi.json +9 -1
- package/package.json +1 -1
|
@@ -125,6 +125,12 @@ export interface ChatMessageUio {
|
|
|
125
125
|
* @memberof ChatMessageUio
|
|
126
126
|
*/
|
|
127
127
|
stream?: ChatMessageStreamUio | null;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof ChatMessageUio
|
|
132
|
+
*/
|
|
133
|
+
reasoning?: string | null;
|
|
128
134
|
}
|
|
129
135
|
/**
|
|
130
136
|
* Check if a given object implements the ChatMessageUio interface.
|
|
@@ -65,6 +65,7 @@ function ChatMessageUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
65
|
'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(FileAttachmentUio_1.FileAttachmentUioFromJSON)),
|
|
66
66
|
'audio': json['audio'] == null ? undefined : (json['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioFromJSON)),
|
|
67
67
|
'stream': json['stream'] == null ? undefined : (0, ChatMessageStreamUio_1.ChatMessageStreamUioFromJSON)(json['stream']),
|
|
68
|
+
'reasoning': json['reasoning'] == null ? undefined : json['reasoning'],
|
|
68
69
|
};
|
|
69
70
|
}
|
|
70
71
|
function ChatMessageUioToJSON(json) {
|
|
@@ -92,5 +93,6 @@ function ChatMessageUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
92
93
|
'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(FileAttachmentUio_1.FileAttachmentUioToJSON)),
|
|
93
94
|
'audio': value['audio'] == null ? undefined : (value['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioToJSON)),
|
|
94
95
|
'stream': (0, ChatMessageStreamUio_1.ChatMessageStreamUioToJSON)(value['stream']),
|
|
96
|
+
'reasoning': value['reasoning'],
|
|
95
97
|
};
|
|
96
98
|
}
|
|
@@ -125,6 +125,12 @@ export interface ChatMessageWithFlowNodeUio {
|
|
|
125
125
|
* @memberof ChatMessageWithFlowNodeUio
|
|
126
126
|
*/
|
|
127
127
|
stream?: ChatMessageStreamUio | null;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof ChatMessageWithFlowNodeUio
|
|
132
|
+
*/
|
|
133
|
+
reasoning?: string | null;
|
|
128
134
|
}
|
|
129
135
|
/**
|
|
130
136
|
* Check if a given object implements the ChatMessageWithFlowNodeUio interface.
|
|
@@ -65,6 +65,7 @@ function ChatMessageWithFlowNodeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
65
|
'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(FileAttachmentUio_1.FileAttachmentUioFromJSON)),
|
|
66
66
|
'audio': json['audio'] == null ? undefined : (json['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioFromJSON)),
|
|
67
67
|
'stream': json['stream'] == null ? undefined : (0, ChatMessageStreamUio_1.ChatMessageStreamUioFromJSON)(json['stream']),
|
|
68
|
+
'reasoning': json['reasoning'] == null ? undefined : json['reasoning'],
|
|
68
69
|
};
|
|
69
70
|
}
|
|
70
71
|
function ChatMessageWithFlowNodeUioToJSON(json) {
|
|
@@ -92,5 +93,6 @@ function ChatMessageWithFlowNodeUioToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
92
93
|
'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(FileAttachmentUio_1.FileAttachmentUioToJSON)),
|
|
93
94
|
'audio': value['audio'] == null ? undefined : (value['audio'].map(ChatMessageAudioInnerUio_1.ChatMessageAudioInnerUioToJSON)),
|
|
94
95
|
'stream': (0, ChatMessageStreamUio_1.ChatMessageStreamUioToJSON)(value['stream']),
|
|
96
|
+
'reasoning': value['reasoning'],
|
|
95
97
|
};
|
|
96
98
|
}
|
package/dist/models/ChatUio.d.ts
CHANGED
package/dist/models/ChatUio.js
CHANGED
|
@@ -49,6 +49,7 @@ function ChatUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
}
|
|
50
50
|
return {
|
|
51
51
|
'id': json['id'],
|
|
52
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
52
53
|
'appId': json['appId'] == null ? undefined : json['appId'],
|
|
53
54
|
'lang': json['lang'],
|
|
54
55
|
'agentId': json['agentId'],
|
|
@@ -72,6 +73,7 @@ function ChatUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
72
73
|
}
|
|
73
74
|
return {
|
|
74
75
|
'id': value['id'],
|
|
76
|
+
'title': value['title'],
|
|
75
77
|
'appId': value['appId'],
|
|
76
78
|
'lang': value['lang'],
|
|
77
79
|
'agentId': value['agentId'],
|
|
@@ -18,6 +18,8 @@ export declare const ProviderTypeUio: {
|
|
|
18
18
|
readonly Openai: "openai";
|
|
19
19
|
readonly Mistral: "mistral";
|
|
20
20
|
readonly Other: "other";
|
|
21
|
+
readonly Gemini: "gemini";
|
|
22
|
+
readonly Vllm: "vllm";
|
|
21
23
|
};
|
|
22
24
|
export type ProviderTypeUio = typeof ProviderTypeUio[keyof typeof ProviderTypeUio];
|
|
23
25
|
export declare function instanceOfProviderTypeUio(value: any): boolean;
|
|
@@ -27,7 +27,9 @@ exports.ProviderTypeUio = {
|
|
|
27
27
|
Ollama: 'ollama',
|
|
28
28
|
Openai: 'openai',
|
|
29
29
|
Mistral: 'mistral',
|
|
30
|
-
Other: 'other'
|
|
30
|
+
Other: 'other',
|
|
31
|
+
Gemini: 'gemini',
|
|
32
|
+
Vllm: 'vllm'
|
|
31
33
|
};
|
|
32
34
|
function instanceOfProviderTypeUio(value) {
|
|
33
35
|
for (const key in exports.ProviderTypeUio) {
|
package/dist/openapi.json
CHANGED
|
@@ -7700,6 +7700,10 @@
|
|
|
7700
7700
|
"id" : {
|
|
7701
7701
|
"type" : "string"
|
|
7702
7702
|
},
|
|
7703
|
+
"title" : {
|
|
7704
|
+
"nullable" : true,
|
|
7705
|
+
"type" : "string"
|
|
7706
|
+
},
|
|
7703
7707
|
"appId" : {
|
|
7704
7708
|
"type" : "string"
|
|
7705
7709
|
},
|
|
@@ -7823,6 +7827,10 @@
|
|
|
7823
7827
|
},
|
|
7824
7828
|
"stream" : {
|
|
7825
7829
|
"$ref" : "#/components/schemas/ChatMessage_stream"
|
|
7830
|
+
},
|
|
7831
|
+
"reasoning" : {
|
|
7832
|
+
"nullable" : true,
|
|
7833
|
+
"type" : "string"
|
|
7826
7834
|
}
|
|
7827
7835
|
},
|
|
7828
7836
|
"required" : [ "content", "id", "role", "timestamp" ],
|
|
@@ -9958,7 +9966,7 @@
|
|
|
9958
9966
|
"type" : "object"
|
|
9959
9967
|
},
|
|
9960
9968
|
"ProviderType" : {
|
|
9961
|
-
"enum" : [ "ollama", "openai", "mistral", "other" ],
|
|
9969
|
+
"enum" : [ "ollama", "openai", "mistral", "other", "gemini", "vllm" ],
|
|
9962
9970
|
"type" : "string"
|
|
9963
9971
|
},
|
|
9964
9972
|
"GuardianType" : {
|