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

feat: allow providing single or multi prompts #1866

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mfbmina
Copy link

@mfbmina mfbmina commented Oct 16, 2024

Hello, it closes #1861!

At the issue, we decided to make prompt accept one or more values. As the go-yaml does not support this, the solution is described in this issue: go-yaml/yaml#100

A new Prompt type was introduced and it handle its serialization to allow one or more values.

@andreynering andreynering self-requested a review October 17, 2024 09:31
@vmaerten vmaerten self-requested a review October 17, 2024 11:20
Copy link
Member

@vmaerten vmaerten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello!

Thanks for working on this !! 🔥 I like the feature

I've left some comments!

taskfile/ast/prompt.go Outdated Show resolved Hide resolved
website/static/schema.json Outdated Show resolved Hide resolved
@mfbmina mfbmina requested a review from vmaerten October 17, 2024 16:50
@vmaerten vmaerten requested a review from pd93 October 18, 2024 16:20
Copy link
Member

@vmaerten vmaerten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!
Thanks.
Waiting for another review before merging :)

@vmaerten vmaerten changed the title Allow providing single or multi prompts feat: allow providing single or multi prompts Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple prompts
2 participants