strong-knife-73744
10/16/2026, 5:01 PMmodern-fireman-99755
10/16/2026, 5:21 PMstrong-knife-73744
10/16/2026, 5:27 PMmodern-fireman-99755
10/16/2026, 5:29 PM--enable-auto-tool-choice is on — a mismatched/streaming parser produces exactly these repeated malformed calls.
3. Set temperature=1.0 for GLM (that's what Z.ai used in their own evals).
4. Verify the base URL ends in /v1 (bit us before).
5. On the SDK side, #4332 is merged, so he should upgrade — he'll get the corrective nudge instead of an instant "Agent error", and stuck detection / max iterations are adjustable. There are still open PRs (#5707, #5783) fixing `maxIterations`/`stuckDetection` not being forwarded in some paths, so it's worth pinning a recent version.
If he can share a trajectory, the fastest signal is the same one that cracked our case: look at the exact repeated tool call — whether it's a malformed call (parser/quantization) or a valid but redundant one (then it's genuinely stuck detection / prompt territory).
---
Perhaps from my side:
• can you share the version you are using?
• a trajectory?
Thanksstrong-knife-73744
10/16/2026, 5:33 PM/v1/chat/completions).
I've confirmed that basic native tool calling works correctly, including processing tool results and stopping afterward.
However, during longer conversations, OpenHands repeatedly executes identical commands with identical successful outputs until the stuck detector terminates the conversation.
Do you remember whether the previous endpoint issue was related to streaming, tool-call formatting, context handling, or vLLM configuration?
I'd appreciate any details about the fix you used.strong-knife-73744
10/16/2026, 5:36 PM<http://192.168.41.28:8000/v1/chat/completions>
• OpenHands model identifier: openai/glm-5.3-flash
• Temperature: 0.2
• Native tool calling: enabled
I tested the endpoint directly. GLM successfully generated a valid tool call, interpreted the successful tool result, and returned finish_reason: stop.
I also inspected the persisted OpenHands trajectory for conversation c6c1556be42244ff9eb172002de76985.
The agent repeatedly executed the same valid Python terminal command. Every execution succeeded with exit code 0 and returned the same directory listing. After repeated actions, the SDK detected an action/observation loop and marked the conversation STUCK.
This conversation had zero condensation events, so condensation isn't required to reproduce the problem.
I've also confirmed SDK 1.54.0 already contains the action-error nudge mechanism from #4332, but successful repeated action/observation loops still terminate as STUCK.
I'm now checking the actual vLLM launch configuration, including quantization, glm47 parser settings and streaming behavior, before changing anything.
Would you recommend testing the existing NVFP4 serving configuration first, or comparing against FP8 with an identical trajectory?
I can share a sanitized trajectory containing the repeated actions and observations. Thanks again for investigating!modern-fireman-99755
10/20/2026, 10:18 PM