mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* initialize control loop * add todo * more todo * add dockerignore * add notes to prompt * encourage llm to finish * add debug env * update prompts a bit * fix task prompts * add basic regression framework * add hello-world regression case * add hello-name test case * fix workspace ignore * document regression script * add python-cli test case * add default git config * add help regression test * add node rewrite test case * add react-todo test case * fix dockerfile * add ability to run background commands * add client-server test case * update regression readme * better support for background commands * update tests * fix bug in command removal
24 lines
523 B
Plaintext
24 lines
523 B
Plaintext
Working in directory: /workspace
|
|
STEP 0
|
|
write {'path': 'hello_world.sh', 'contents': '#!/bin/bash\necho "hello world"'}
|
|
---
|
|
output {'output': ''}
|
|
==============
|
|
STEP 1
|
|
run {'command': 'chmod +x hello_world.sh'}
|
|
---
|
|
output {'output': ''}
|
|
==============
|
|
STEP 2
|
|
run {'command': './hello_world.sh'}
|
|
---
|
|
output {'output': 'hello world\n'}
|
|
==============
|
|
STEP 3
|
|
think {'thought': "I've successfully written and executed a bash script that prints 'hello world'. Task appears to be complete."}
|
|
---
|
|
None
|
|
==============
|
|
STEP 4
|
|
Done!
|