I was wondering if Whiz was using agent-style planning prompts, but it's much simpler and passes a single `function` parameter named `shell` to the OpenAI API.
I thought that was clever, because shell commands are highly composable, so it's likely that something can be done in "one shot".
It will also be way more efficient with token usage.
Comments
It is quite similar to https://github.com/KillianLucas/open-interpreter
Such terminal tools are quite like AI agents, it should think about steps and then execute one by one.
That's a cool project.
I built this after copy pasting the same git command to list all the recently committed branches from chat.openai.com.
I have a couple more functions that I want to add to the CLI like [0] translating novels, web scraping or LLM powered grep.
0] https://gist.github.com/searchableguy/436933aa9f95a423d2f89d...
I was wondering if Whiz was using agent-style planning prompts, but it's much simpler and passes a single `function` parameter named `shell` to the OpenAI API.
I thought that was clever, because shell commands are highly composable, so it's likely that something can be done in "one shot".
It will also be way more efficient with token usage.