Skip to content

Commit 7501d8f

Browse files
committed
docs(ai): clarify input schema comment in prompt loader
1 parent 7feb3f3 commit 7501d8f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/genkit/lib/src/ai/prompt_loader_io.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ void _loadPrompt(
140140
// Build the input schema from the frontmatter `input.schema`. The raw
141141
// metadata from `parse` is not schema-resolved, so Picoschema is converted
142142
// to JSON Schema here (mirroring what `renderMetadata` does internally).
143-
// Without this the action has no input schema, so the Developer UI shows no
144-
// input fields and input is never validated.
143+
// Without this the action has no input schema, so the Developer UI cannot
144+
// render an input form for the prompt.
145145
final inputSchema = _toInputSchema(metadata.input?.schema);
146146

147147
// Build output config from parsed metadata. As with the input schema, the

0 commit comments

Comments
 (0)