Fix Windows prompt refinement: ensure 'bash' is replaced with 'powershell' in all prompts (#10179)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Boxuan Li
2025-08-08 20:28:36 -07:00
committed by GitHub
parent 3eecac2003
commit 803bdced9c
4 changed files with 194 additions and 3 deletions

View File

@@ -383,7 +383,7 @@ Do NOT assume the environment is the same as in the example above.
"""
example = example.lstrip()
return example
return refine_prompt(example)
IN_CONTEXT_LEARNING_EXAMPLE_PREFIX = get_example_for_tools