@breign/client 1.0.64 → 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.
@@ -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
  }
@@ -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
@@ -7827,6 +7827,10 @@
7827
7827
  },
7828
7828
  "stream" : {
7829
7829
  "$ref" : "#/components/schemas/ChatMessage_stream"
7830
+ },
7831
+ "reasoning" : {
7832
+ "nullable" : true,
7833
+ "type" : "string"
7830
7834
  }
7831
7835
  },
7832
7836
  "required" : [ "content", "id", "role", "timestamp" ],
@@ -9962,7 +9966,7 @@
9962
9966
  "type" : "object"
9963
9967
  },
9964
9968
  "ProviderType" : {
9965
- "enum" : [ "ollama", "openai", "mistral", "other" ],
9969
+ "enum" : [ "ollama", "openai", "mistral", "other", "gemini", "vllm" ],
9966
9970
  "type" : "string"
9967
9971
  },
9968
9972
  "GuardianType" : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.64",
3
+ "version": "1.0.65",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",