There's something else which is pretty useful.
Let's say I go back and I kind of
simulate that I never sent this question before.
So I'm sending it here with my original state of the code to find improvement
potential and make those changes.
But then after submitting this, I find out that I wanna ask for
more changes. I wanna rename all these functions.
Well, you can press the stop button here to stop
AI, and then go back to your original prompt
include your changes. You could say something like, "Rename
all functions to be more expressive," something like
this. But that's just one option. Let's say we did not
do that. So I'll restart this, and still I wanna make more
changes. What you could instead do if the agent is working, you could
add your new prompt here, and then you can
submit it and it will get queued. So here I'll say, "Also
rename all functions." And when you queue this, it will not
interrupt the work of the agent, but instead at the first point in time
it's safe to add this new prompt, it will be
added to the conversation. And now the original task
and the new task both should be completed, and the
agent will simply continue its work with the new information you
queued and the original prompt you sent.
So we still have these improvements like the error handling, but at the
same time, those functions now also were
renamed. So you can either stop and edit
or you can queue more messages if you got some follow-up work you wanna
do. And queuing messages, of course, is especially useful
if we're talking about follow-up work.
If you determine that something about your prompt
editing is probably better. If you instead determine that
you have more work to do, sending and queuing a follow-up message
is typically fine. You don't need to stop and interrupt.
You could do it, but you don't need to.
Queuing is another option.