waveterm
waveterm copied to clipboard
[Feature]: Piping stdin to AI should still let you provide a prompt separately
Current Behavior
If I do something like "ls | wsh ai - "how many files are here"", it only pipes the output of ls to the AI block, and does not include the question I asked. This seemed to work on on macos.
Expected Behavior
ls | wsh ai - "how many files are here" should pipe the ls output to the AI block and the AI block should read from stdin with -.
Steps To Reproduce
- Run waveterm
- run
ls | wsh ai - "how many files are here" - Observe that AI block doesn't read the stdin text
Wave Version
v0.11.0
Platform
Windows
OS Version/Distribution
Windows 11
Architecture
x64
Anything else?
No response
Questionnaire
- [ ] I'm interested in fixing this myself but don't know where to start
- [ ] I would like to fix and I have a solution
- [ ] I don't have time to fix this right now, but maybe later