@librechat/agents-types 1.9.96 → 1.9.97
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/package.json +1 -1
- package/stream.ts +6 -1
package/package.json
CHANGED
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> & {
|