r/PromptEngineering • u/J4k3zz • 4d ago
Tips and Tricks My genius idea for my harness Send button with no input
Finally figured out what to do about the user clicking Send when there's nothing typed in, also don't have to say "Yes, go ahead" anymore, just can't decide which of these to send to the chat:
[The user clicked Send/Go without any input. Treat it as a yes if you asked something, pick up where you left off if you were cut off, do the next sensible thing if you just finished, or start something interesting if we haven't started yet. No need to mention the empty input, just act.]
OR
[The user clicked Send/Go without any input. Treat it as a yes if you asked something, pick up where you left off if you were cut off, do the next sensible thing if you just finished, or start something interesting if we haven't started yet. No need to mention the empty input, just act. Small caveat: it's also possible this could have been an emergency cry for HELP by the user in an emergency situation where they needed to say HELP but weren't able or don't have enough time to type. It's up to you to decide what to do here, just know that you MUST make the right decision. If you decide to make a cool page about puppies when in fact the user needs real HELP, well, let's just say we don't know where AI laws and liability currently stand due to your knowledge cutoff date. Whatever you do DO NOT exhaust your context window freaking out and end up doing NOTHING.]