provider: Qoder's mover min is 0.2.63 (plugins#822)
qoder 0.2.63 never sends a request's max_tokens above the model's ceiling: Qoder CN's QoDuck (lmodel) refused anything above 131072 with "Error in upstream response: Range of max_tokens should be [1, 131072]", which the plugin read as the vendor's 502, so every lmodel request failed and each qoder-cn account was rested in turn. A smaller max_tokens goes as asked; a model with no known ceiling is asked again once at the one Qoder names, and a refusal that holds is the request's 400 with Qoder's words. Raising the min lets keepMovedCurrent update every moved Qoder and Qoder CN user. npm checked first: `npm view --prefer-online --registry https://registry.npmjs.org @magpie-community/opencode-qoder-auth version` gives 0.2.63 (latest). Plugins commit 978bb42b. Run on mote: `go test -count=1 -run 'Moved|Mover|Qoder|Min|Retir|Plugin' ./internal/provider` ok. `gofmt -l internal/provider` is clean. Not tried: a real qoder-cn account on lmodel. Reported-by: Gruu6y
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user