@voltagent/server-core 1.0.3 → 1.0.5

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 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 UIMessage format: array of messages with parts")
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 UIMessage format: array of messages with parts")
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
  });