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

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

mfbmina
Copy link
Contributor

@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
@mfbmina
Copy link
Contributor Author

mfbmina commented Oct 29, 2024

Hey guys! Can I help with something to get it reviewed?

Copy link
Member

@pd93 pd93 left a comment

Choose a reason for hiding this comment

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

Hey guys! Can I help with something to get it reviewed?

No help needed, all approved but unmerged PRs will get looked at before a release happens. That said, this looks fine to me. Thanks for the contribution!

@pd93 pd93 merged commit 5581954 into go-task:main Oct 29, 2024
14 checks passed
pd93 added a commit that referenced this pull request Oct 29, 2024
@MalteMagnussen
Copy link

Thank you very much!

@mfbmina mfbmina deleted the enable-multi-prompts branch October 30, 2024 16:19
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
4 participants