Open santiagomed opened 1 year ago
Hola Santiago! That's an awesome idea, and I would love it if you made a PR!
I've actually been thinking about that from the first iteration of ShellAI a couple years ago, and it feels like a natural direction for it to go.
Ideally ShellAI would take some smart subset of recent command history, which might require some clever history setup (which I've been avoiding thinking about). e.g. How do you make it "magical" so it always has the context you want, but nothing more. Give it a shot! I'm very curious what your solutions are.
Hey @ibigio. Might be pretty useful if ShellAI takes in the previous command as context for the next response. I'd love to contribute so if this sounds good I can start writing the feature.
Quick example: This:
Would turn into this:
Let me know what you think!