creamy-angle-16764
08/07/2025, 7:20 PM"temperature": 0.0,
"top_p": 1.0,
"stop": [
"</function"
]
}
The problem with that is this is a reasoning model, so it will say </function as it reasons within <think></think> tags:
https://platform.openai.com/docs/api-reference/chat/create#chat_create-stop
I believe the use of stop should be disabled for reasoning models.calm-artist-7206
08/07/2025, 7:23 PMcalm-artist-7206
08/07/2025, 7:23 PMcreamy-angle-16764
08/07/2025, 7:27 PMcreamy-angle-16764
08/07/2025, 8:45 PMnumerous-refrigerator-93306
08/07/2025, 10:03 PMopenhands/llm/fn_call_converter.py :
root@Beepy:/data/OpenHands (openpaws)# ag "'</function'" openhands/llm/fn_call_converter.py
56:STOP_WORDS = ['</function']creamy-angle-16764
08/10/2025, 2:12 AM