Qwen3.6-27B-FP8 - JS file is too long and causing JSON truncation

Posted by poobear_74@reddit | LocalLLaMA | View on Reddit | 8 comments

Apologies in advance, if this is a newbie question. When running Qwen3.6-27B-FP8 using the below command on an Nvidia RTX PRO 5000, in opencode, I am seeing errors such as: "The issue is that the JS file is too long and causing JSON truncation. Let me split it into multiple files.", "The file is too long for the write tool. Let me use bash to write it instead.", "The heredoc approach is also failing because the content is too long and getting truncated. ", "The base64 approach works but it's tedious. Let me try a Python approach instead", "Let me take a different approach — write a Python script that generates the JS file, then run it.".

vllm serve Qwen/Qwen3.6-27B-FP8   --host 0.0.0.0 --port 8000   --max-model-len 65536   --download-dir /workspace/models   --enable-auto-tool-choice --tool-call-parser qwen3_xml   --max-num-seqs 4 --enable-prefix-caching --enable-chunked-prefill   --max-num-batched-tokens 16384 --trust-remote-codevllm serve Qwen/Qwen3.6-27B-FP8   --host 0.0.0.0 --port 8000   --max-model-len 65536   --download-dir /workspace/models   --enable-auto-tool-choice --tool-call-parser qwen3_xml   --max-num-seqs 4 --enable-prefix-caching --enable-chunked-prefill   --max-num-batched-tokens 16384 --trust-remote-code

When I change tool-call-parser to qwen3_parser, I get a whole lot of different errors:

⚙ invalid [tool=write, error=Invalid input for tool write: JSON parsing failed: Text: {"filePath": "/tmp/spaceinvaders/index.html".

⚙ invalid [tool=write, error=Invalid input for tool write: JSON parsing failed: Text: { "content": "

I'd appreciate guidance.