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

Stdin now appends as suffix even if no input flag #27

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

baalimago
Copy link
Owner

@baalimago baalimago commented Jan 24, 2025

I've aliased a lot of my clai commands behind profiles. For example: alias pask="clai -p python-god query" so
that I can run pask how do i do X to quickly query a preprompted llm. But, I can't add an input flag in
these aliases, which is annoying.

As there very rarely is a case where I add input to stdin which I don't want to be used in the query,
this new system simply appends the stdin to the end of the query. Also works with conversations... sort of
use on your own risk.

@baalimago baalimago merged commit 9897c9b into main Jan 24, 2025
2 checks passed
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.

1 participant