Compare commits

...

14 Commits

Author SHA1 Message Date
Xingyao Wang
877a857e55 Merge branch 'main' into fix-timeout-message-tests 2025-08-15 15:40:45 -04:00
openhands
2a52902db8 Revert implementation changes - keep main branch implementation 2025-08-15 19:39:05 +00:00
openhands
02a5b7c307 Remove prompt changes - keep only timeout message fixes 2025-08-15 19:35:20 +00:00
openhands
4d4645068c Fix timeout message format to match main branch
- Updated TIMEOUT_MESSAGE_TEMPLATE in bash_constants.py to include specific key combinations ('C-c', 'C-z', 'C-d')
- Modified bash.py to use TIMEOUT_MESSAGE_TEMPLATE instead of hardcoded message
- Modified windows_bash.py to use TIMEOUT_MESSAGE_TEMPLATE instead of hardcoded message
- Ensures consistent timeout message format across all bash implementations
- Fixes failing runtime tests related to timeout error prompt changes
2025-08-15 19:24:03 +00:00
openhands
8e30ecca11 Revert unintended default system prompt change
The change to set system_prompt_filename default to 'system_prompt_tech_philosophy.j2'
was unintended. Reverting back to the original default 'system_prompt.j2' and
updating the test accordingly.

Co-authored-by: openhands <openhands@all-hands.dev>
2025-08-15 18:42:34 +00:00
openhands
9722d23f38 Fix test to match new default system prompt filename
The default system_prompt_filename was changed from 'system_prompt.j2' to
'system_prompt_tech_philosophy.j2' in the AgentConfig, so the test needed
to be updated to reflect this change.

Co-authored-by: openhands <openhands@all-hands.dev>
2025-08-15 18:26:44 +00:00
Xingyao Wang
9b78a5e200 update default prompt name 2025-08-14 13:49:50 -04:00
Xingyao Wang
1ce3723b60 rename and add file back 2025-08-14 13:48:44 -04:00
Xingyao Wang
95a32ae459 set default 2025-08-14 13:18:22 -04:00
Xingyao Wang
9be0acea9c improve prompt 2025-08-14 13:15:01 -04:00
test
1a5965b951 Merge system prompt templates into experimental version
- Combine system_prompt_interactive.j2 and system_prompt_roleplay.j2 into system_prompt_experimental.j2
- Use include directive to avoid code duplication and maintain DRY principle
- Integrate interactive rules for handling vague instructions and clarification protocols
- Incorporate Linus Torvalds technical philosophy with constructive communication style
- Replace harsh language with professional, educational feedback approach
- Maintain technical rigor while ensuring respectful user interactions

Co-authored-by: openhands <openhands@all-hands.dev>
2025-08-14 17:03:53 +00:00
Xingyao Wang
f5cbb26770 minor tweak and reformat 2025-08-14 12:49:49 -04:00
Xingyao Wang
8caad14eb8 update prompt 2025-08-14 12:15:06 -04:00
Xingyao Wang
43e6ce631a roleplay prompt 2025-08-14 00:11:38 -04:00

Diff Content Not Available