Explorar el Código

fn_call_converter: Fix newline in in-context learning prompt (#5903)

Boxuan Li hace 1 año
padre
commit
95f7a6a4dc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      openhands/llm/fn_call_converter.py

+ 1 - 1
openhands/llm/fn_call_converter.py

@@ -224,7 +224,7 @@ IN_CONTEXT_LEARNING_EXAMPLE_SUFFIX = """
 --------------------- END OF NEW TASK DESCRIPTION ---------------------
 
 PLEASE follow the format strictly! PLEASE EMIT ONE AND ONLY ONE FUNCTION CALL PER MESSAGE.
-""".lstrip()
+"""
 
 # Regex patterns for function call parsing
 FN_REGEX_PATTERN = r'<function=([^>]+)>\n(.*?)</function>'