provider: qoder's mover min is 0.2.51, where an unnamed native tool call no longer fails the turn (plugins#579)

qoder-cn/qfmodel now and then begins a native tool call and never names
it. Up to 0.2.50 the plugin ended the stream with "the model's native
tool call has no name", an error frame ZCode doesn't retry, and the whole
turn died with what had already streamed. 0.2.51 asks once more when
nothing was said before it (then a 502 before any byte, which the gateway
retries or fails over), and otherwise drops the call and ends tool_calls
or stop. keepMovedCurrent brings every moved user up to it.

npm: `npm view @magpie-community/opencode-qoder-auth version
--prefer-online` = 0.2.51 at this commit.

Run at this tree (be689b883 + this change), on mote:
`go test -count=1 -timeout 45m ./internal/provider`: ok (117s).
`gofmt -l internal/provider`: nothing.

magpie's gateway is unchanged: chatTidy already drops a call whose first
fragment has no name and ends stop (#1475).
This commit is contained in:
yetone
2026-11-01 07:14:44 +08:00
parent be689b8833
commit 2640ac0f03
File diff suppressed because one or more lines are too long