@librechat/agents-types 1.9.96 → 1.9.98

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/stream.ts +6 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@librechat/agents-types",
3
- "version": "1.9.96",
3
+ "version": "1.9.98",
4
4
  "description": "Type definitions for @librechat/agents",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
package/stream.ts CHANGED
@@ -210,8 +210,13 @@ export type ReasoningDeltaUpdate = { type: ContentTypes.THINK; think: string; };
210
210
 
211
211
  export type ContentType = 'text' | 'image_url' | 'tool_call' | 'think' | string;
212
212
 
213
+ export type ReasoningContentText = {
214
+ type: ContentTypes.THINK;
215
+ think: string;
216
+ };
217
+
213
218
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
214
- export type MessageContentComplex = (MessageContentText | MessageContentImageUrl | (Record<string, any> & {
219
+ export type MessageContentComplex = (ReasoningContentText | MessageContentText | MessageContentImageUrl | (Record<string, any> & {
215
220
  type?: 'text' | 'image_url' | 'think' | string;
216
221
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
217
222
  }) | (Record<string, any> & {