We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f5ca06 commit 5ecdefaCopy full SHA for 5ecdefa
genkit-tools/common/src/types/model.ts
@@ -372,7 +372,7 @@ export const GenerateActionOutputConfig = z.object({
372
373
export const GenerateActionOptionsSchema = z.object({
374
/** A model name (e.g. `vertexai/gemini-1.0-pro`). */
375
- model: z.string(),
+ model: z.string().optional(),
376
/** Retrieved documents to be used as context for this generation. */
377
docs: z.array(DocumentDataSchema).optional(),
378
/** Conversation history for multi-turn prompting when supported by the underlying model. */
genkit-tools/genkit-schema.json
@@ -469,7 +469,6 @@
469
}
470
},
471
"required": [
472
- "model",
473
"messages"
474
],
475
"additionalProperties": false
0 commit comments