Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

opencode tool_calls problem with OpenVINO/Qwen3-Coder-30B-A3B-Instruct-int4-ov

Aperta
#4,599 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

The issue involves the interaction between opencode and the OpenVINO Model Server (ovms) using a specific Qwen3-Coder model. Start by examining the ovms logs linked in the gist to identify malformed JSON in the API response. Look at the tool_parser and reasoning_parser implementations for Qwen3-Coder models in the ovms codebase. Reproduce the setup with the exact ovms launch command and observe the JSON output in the opencode console to understand the discrepancy.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Describe the bug
When using opencode against ovms with OpenVINO/Qwen3-Coder-30B-A3B-Instruct-int4-ov at some point after a few steps, I get json-output in the opencode console, I guess something with the API response of ovms is slightly wrong:

Image

This does not happen with non-coder Qwen3 models I tested.

It does also happen with the coder model when omitting the --tool_parser qwen3coder --reasoning_parser qwen3 --enable_tool_guided_generation true options.

To Reproduce
Steps to reproduce the behavior:

  1. Launch the ovms command with --pull to get the model
  2. OVMS launch command: ovms --source_model OpenVINO/Qwen3-Coder-30B-A3B-Instruct-int4-ov --model_repository_path models --task text_generation --rest_bind_address 127.0.0.1 --rest_port 8000 --target_device GPU --tool_parser qwen3coder --reasoning_parser qwen3 --enable_tool_guided_generation true --cache_size 2 --log_level TRACE
  3. Client command: opencode
  4. See error

Expected behavior
opencode should just work?

Logs
see https://gist.github.com/mmoll/723fd621dd2f2bfb1fb5871ce4b549ab

Configuration

  1. OpenVINO and ovms version: 2026.4.0

Additional context
Add any other context about the problem here.

Lingua principale
C++
Stelle
932
Fork
278
Merge medio
3g 5h
PR unite (30g)
70

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openvinotoolkit/model_server

Tutte le issue di openvinotoolkit/model_server

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.