@voltagent/server-core 1.0.3 → 1.0.4
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.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -248,8 +248,8 @@ var GenerateOptionsSchema = import_zod.z.object({
|
|
|
248
248
|
var TextRequestSchema = import_zod.z.object({
|
|
249
249
|
input: import_zod.z.union([
|
|
250
250
|
import_zod.z.string().describe("Direct text input"),
|
|
251
|
-
import_zod.z.array(import_zod.z.any()).describe("AI SDK
|
|
252
|
-
]).describe("Input text or messages array"),
|
|
251
|
+
import_zod.z.array(import_zod.z.any()).describe("AI SDK message array (UIMessage or ModelMessage format)")
|
|
252
|
+
]).describe("Input text or messages array - accepts string, UIMessage[], or ModelMessage[]"),
|
|
253
253
|
options: GenerateOptionsSchema.optional().describe("Optional generation parameters")
|
|
254
254
|
});
|
|
255
255
|
var TextResponseSchema = import_zod.z.object({
|
|
@@ -290,8 +290,8 @@ var BasicJsonSchema = import_zod.z.object({
|
|
|
290
290
|
var ObjectRequestSchema = import_zod.z.object({
|
|
291
291
|
input: import_zod.z.union([
|
|
292
292
|
import_zod.z.string().describe("Direct text input"),
|
|
293
|
-
import_zod.z.array(import_zod.z.any()).describe("AI SDK
|
|
294
|
-
]).describe("Input text or messages array"),
|
|
293
|
+
import_zod.z.array(import_zod.z.any()).describe("AI SDK message array (UIMessage or ModelMessage format)")
|
|
294
|
+
]).describe("Input text or messages array - accepts string, UIMessage[], or ModelMessage[]"),
|
|
295
295
|
schema: BasicJsonSchema,
|
|
296
296
|
options: GenerateOptionsSchema.optional().describe("Optional object generation parameters")
|
|
297
297
|
});
|