Skip to content

Commit f2ba254

Browse files
authored
Clean up SYSTEM_PROMPTS.md by removing outdated prompts
Removed sections related to CodeAct agent, Long-horizon additions, ReadOnly agent prompt, and other OpenHands prompts from SYSTEM_PROMPTS.md.
1 parent d54ecd3 commit f2ba254

File tree

1 file changed

+1
-32
lines changed

1 file changed

+1
-32
lines changed

SYSTEM_PROMPTS.md

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -116,38 +116,7 @@ Source: https://github.com/OpenHands/software-agent-sdk/blob/main/openhands-sdk/
116116

117117
## OpenHands repository
118118

119-
### CodeAct agent system prompt
120-
121-
Source: https://github.com/OpenHands/OpenHands/blob/bef9b80b9dc6061d27a748ef2115120a6a2feb87/openhands/agenthub/codeact_agent/prompts/system_prompt.j2
122-
123-
Additional section compared to SDK base:
124-
125-
- `<DOCUMENTATION>`: Documentation handling rules (where to place docs and
126-
whether to include them in VCS).
127-
[Lines 97-105](https://github.com/OpenHands/OpenHands/blob/bef9b80b9dc6061d27a748ef2115120a6a2feb87/openhands/agenthub/codeact_agent/prompts/system_prompt.j2#L97-L105)
128-
129-
### Long-horizon additions
130-
131-
Source: https://github.com/OpenHands/OpenHands/blob/bef9b80b9dc6061d27a748ef2115120a6a2feb87/openhands/agenthub/codeact_agent/prompts/system_prompt_long_horizon.j2
132-
133-
- `<TASK_TRACKING_PERSISTENCE>`: Continue task tracking across condensation events.
134-
[Lines 42-46](https://github.com/OpenHands/OpenHands/blob/bef9b80b9dc6061d27a748ef2115120a6a2feb87/openhands/agenthub/codeact_agent/prompts/system_prompt_long_horizon.j2#L42-L46)
135-
136-
### ReadOnly agent prompt
137-
138-
Source: https://github.com/OpenHands/OpenHands/blob/bef9b80b9dc6061d27a748ef2115120a6a2feb87/openhands/agenthub/readonly_agent/prompts/system_prompt.j2
139-
140-
- `<CAPABILITIES>`: Read-only tool list and restrictions.
141-
[Lines 7-19](https://github.com/OpenHands/OpenHands/blob/bef9b80b9dc6061d27a748ef2115120a6a2feb87/openhands/agenthub/readonly_agent/prompts/system_prompt.j2#L7-L19)
142-
- `<GUIDELINES>`: Read-only behavior guidelines and escalation instructions.
143-
[Lines 21-34](https://github.com/OpenHands/OpenHands/blob/bef9b80b9dc6061d27a748ef2115120a6a2feb87/openhands/agenthub/readonly_agent/prompts/system_prompt.j2#L21-L34)
144-
145-
### Other OpenHands prompts
146-
147-
Source directory: https://github.com/OpenHands/OpenHands/tree/bef9b80b9dc6061d27a748ef2115120a6a2feb87/openhands/agenthub/codeact_agent/prompts/
148-
149-
- `system_prompt_interactive.j2`: Same `<INTERACTION_RULES>` section as SDK.
150-
- `system_prompt_tech_philosophy.j2`: Same `<TECHNICAL_PHILOSOPHY>` section as SDK.
119+
(TODO - we need V1 ONLY, not V0 legacy prompts which still exist in that codebase!)
151120

152121
## OpenHands-CLI repository
153122

0 commit comments

Comments
 (0)