[Dev UI] Pass inputSchema in prompt-runner when exporting a prompt in Dev UI
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start at the Dev UI prompt runner's export or save flow and inspect the payload sent to the createPrompt API endpoint. Ensure the prompt's inputSchema or input.schema is included, then verify that an exported .prompt file preserves the input schema in its frontmatter.
Written by the indexing model from the issue text.
Description
Summary
In the Developer UI's prompt runner, when exporting a prompt to a .prompt file, any input schema currently associated with the prompt is dropped during export.
Details
When a user runs or edits a prompt in the Dev UI prompt runner and clicks to export or save it as a .prompt file, the UI calls the createPrompt API endpoint. Because inputSchema is not passed in the request payload from the prompt runner UI component, any input schema defined on the prompt is lost in the exported .prompt frontmatter.
Expected Behavior
The Dev UI prompt runner component should include the prompt's inputSchema (or input.schema) in the payload sent to createPrompt so that exported .prompt files preserve input schema definitions.
- Dominant language
- TypeScript
- Stars
- 6.5k
- Forks
- 845
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 56
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from genkit-ai/genkit
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
python
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
python
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
All issues in genkit-ai/genkit
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100