@agentfield/sdk 0.1.146-rc.1 → 0.1.146-rc.10
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/index.d.ts +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import express from 'express';
|
|
|
2
2
|
import http from 'node:http';
|
|
3
3
|
import * as _ai_sdk_provider from '@ai-sdk/provider';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
+
import { ZodType } from 'zod/v3';
|
|
5
6
|
import { AxiosInstance } from 'axios';
|
|
6
7
|
import { WriteStream } from 'node:tty';
|
|
7
8
|
import { ToolSet } from 'ai';
|
|
@@ -307,7 +308,7 @@ declare function fileFromBuffer(buffer: Buffer | Uint8Array, mimeType: string):
|
|
|
307
308
|
declare function fileFromBase64(base64Data: string, mimeType: string): Promise<File>;
|
|
308
309
|
type MultimodalContent = Text | Image | Audio | Video | File;
|
|
309
310
|
|
|
310
|
-
type ZodSchema<T> = z.
|
|
311
|
+
type ZodSchema<T> = z.ZodType<T, any> | ZodType<T, any, any>;
|
|
311
312
|
interface AIRequestOptions {
|
|
312
313
|
system?: string;
|
|
313
314
|
schema?: ZodSchema<any>;
|