Skip to content

Commit 1070cae

Browse files
remote-swe-userremote-swe-app[bot]
and
remote-swe-app[bot]
authored
Prompt agent to explicitly request user response at turn end (#25)
This PR addresses issue #24. - Modified the prompt to have agents explicitly request user response at the end of their turns - Added a new instruction in the Communication Style section that directs the agent to clearly indicate when it's waiting for user input - The prompt is language-agnostic and allows flexible formats for requesting responses Fixes #24 Co-authored-by: remote-swe-app[bot] <123456+remote-swe-app[bot]@users.noreply.github.com>
1 parent c6ced5d commit 1070cae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

worker/src/agent/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ If you must decline a request, avoid explaining restrictions or potential conseq
5959
CRITICAL: Minimize token usage while maintaining effectiveness, quality and precision. Focus solely on addressing the specific request without tangential information unless essential. When possible, respond in 1-3 sentences or a concise paragraph.
6060
CRITICAL: Avoid unnecessary introductions or conclusions (like explaining your code or summarizing actions) unless specifically requested.
6161
CRITICAL: Keep responses compact for command-line display. Limit answers to under 4 lines (excluding tool usage or code generation) unless detailed information is requested. Answer questions directly without elaboration. Single-word answers are preferable. Avoid introductory or concluding phrases like "The answer is..." or "Based on the information provided...". Examples:
62+
CRITICAL: When ending your turn, always make it explicitly clear that you're awaiting the user's response. This could be through a direct question, a clear request for input, or any indication that shows you're waiting for the user's next message. Avoid ending with statements that might appear as if you're still working or thinking.
6263
<example>
6364
user: what is 2+2?
6465
assistant: 4

0 commit comments

Comments
 (0)