Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dev UI] Prompt runner does not re-render template if no-input required #1821

Closed
i2amsam opened this issue Feb 4, 2025 · 2 comments
Closed
Assignees
Labels
bug Something isn't working devui tooling
Milestone

Comments

@i2amsam
Copy link
Contributor

i2amsam commented Feb 4, 2025

We currently rely on the input editor changing to trigger a re-render. We can't rely on this, since sometimes we won't require input.

Describe the bug
Prompt not switching via dropdown when multiple prompts are available in js-schoolAgent. Tested on IDX using the sample.

Using the js-schoolAgent sample and 1.0.0-rc.15 the prompt dropdown doesn't switch the displayed prompt

Image

Image

@i2amsam i2amsam added bug Something isn't working tooling labels Feb 4, 2025
@i2amsam i2amsam added this to the js-1.0.0 milestone Feb 4, 2025
@i2amsam i2amsam added the devui label Feb 6, 2025
@MichaelDoyle MichaelDoyle moved this to In Progress in Genkit Backlog Feb 6, 2025
@MichaelDoyle MichaelDoyle self-assigned this Feb 6, 2025
@MichaelDoyle
Copy link
Member

I was able to reproduce this. It's specific to whatever is happening in this sample. Looking into it.

@MichaelDoyle MichaelDoyle marked this as a duplicate of #1882 Feb 6, 2025
@MichaelDoyle MichaelDoyle changed the title [Tooling] Prompts not switching via dropdown menu [Dev UI] Prompt runner does not re-render template if no-input required Feb 6, 2025
@MichaelDoyle
Copy link
Member

Fixed!

@github-project-automation github-project-automation bot moved this from In Progress to Done in Genkit Backlog Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working devui tooling
Projects
Archived in project
Development

No branches or pull requests

2 participants