gpt-oss hates windows paths apparently. I think it...
# general
c
gpt-oss hates windows paths apparently. I think it is freaking out and starts tossing chat template tags in the reasoning content, ending the turn without any output.
m
You mean it doesn’t deal with backslashes in paths properly? I haven’t tried gpt-oss but o3-mini seems okay-ish, although it still assumes unix-style paths from time to time
c
I opened an issue upstream with llama.cpp just to see if they have additional insight. You can see the difference in the responses it is sending back between linux and windows there: https://github.com/ggml-org/llama.cpp/issues/15113
m
Dumb question: you are not using WSL right? Asking coz I found it weird that the windows reasoning content has
Use execute_bash to list directories
but on windows (local/cli runtime), this tool is named after “execute_powershell” (see https://github.com/All-Hands-AI/OpenHands/blob/1c6634780399780fd844ef7279e3a96be7f307ee/openhands/agenthub/codeact_agent/tools/bash.py#L39-L41)
m
Thanks. Obviously OpenHands has a bug: it shouldn’t have defined “execute_bash” tool call - on windows it shall be “execute_powershell”, but that’s irrelevant to your question. Regarding the issue you raised, I’d guess it’s a llama.cpp issue rather than gpt-oss issue, but it’s just my speculation.
👍 1
r
it has been performing really poorly for me on tool calling.
p
git bash is great on windows, why PowerShell default? and/or https://github.com/PowerShell/PowerShell on Linux 😉 IMO, this should be configurable, OH should understand what's available and choose the best tool for the job and/or parallel execute both, and pick the best result
m
@polite-architect-52194 to my best knowledge, git bash on windows doesn’t expose APIs to maintain a stateful session. PowerShell does.
p
https://www.msys2.org/wiki/Setting-up-SSHd/ I think I got this working at some point, you ssh localhost and get dropped into bash