-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Milestone
Description
Summary
Prevent calling agent with an empty instruction
Motivation
When a user comments @ h2ogpte only, the agent begins to find tasks for itself and gets confused without any instruction/direction from the user. This is both bad for the user (no value) and also uses tokens when not needed.
Proposed Solution
Reply with a deterministic response when we have an empty instruction - something like "Provide an instruction for the agent to execute."
Alternatives
We should also consider what is an empty instruction. Right now it's simply if we tag the agent with only whitespace - consider if there's only punctuation, for example @ h2ogpte ... or we could consider a minimum instruction length
Metadata
Metadata
Assignees
Labels
No labels