openai_pipe icon indicating copy to clipboard operation
openai_pipe copied to clipboard

[Feature Request] Terminal output as context

Open fire17 opened this issue 2 years ago • 0 comments

Hi there! First over let me just say that I love this project

Just wanted to ask if you could maybe find a way to get the recent terminal output like all stdout that is currently present in the terminal + command history, and feed it as a preprompt primer. For example of you ran some command and got your output Infront if you, and don't want to rerun and pipe, you could just say $ ai save this text to file It should get the filename and path and text from context - from the last few outputs. 🔥 maybe configure to preload N calls back (cmds+outputs) and or by setting token window

Let me know if you like it 🙏 Thanks and have a good one! All the best

fire17 avatar May 04 '23 21:05 fire17