Skip to content

Commit 5ecdefa

Browse files
committed
undo py changes
1 parent 0f5ca06 commit 5ecdefa

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

genkit-tools/common/src/types/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ export const GenerateActionOutputConfig = z.object({
372372

373373
export const GenerateActionOptionsSchema = z.object({
374374
/** A model name (e.g. `vertexai/gemini-1.0-pro`). */
375-
model: z.string(),
375+
model: z.string().optional(),
376376
/** Retrieved documents to be used as context for this generation. */
377377
docs: z.array(DocumentDataSchema).optional(),
378378
/** Conversation history for multi-turn prompting when supported by the underlying model. */

genkit-tools/genkit-schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,6 @@
469469
}
470470
},
471471
"required": [
472-
"model",
473472
"messages"
474473
],
475474
"additionalProperties": false

0 commit comments

Comments
 (0)