release: v2.1.15 QwenWork catalog 503 - #84
Merged
Merged
Conversation
QwenWork 1.0.4 resolves the model catalog from body.business.product and body.business.type. Header-only requests return 503 Model catalog unavailable. Chat now copies those fields from the Cosy-Business headers and sends the official Encode=1 body.
Ship the QwenWork catalog 503 fix from #82.
ZJFERAL
added a commit
to ZJFERAL/Buddy2api
that referenced
this pull request
Sep 24, 2026
Brings in main's released QwenWork 1.0.4 fix (v2.1.15, wicm84266964#82/wicm84266964#84): body `business.product`/`business.type` for catalog lookup, official `Encode=1` WASM infer packing (`providers/qwenwork/encode.py`, +wasmtime). Conflict resolutions: - requirements.txt: union — keep websockets (more) and wasmtime (main). - providers/qwenwork/constants.py: take main's re-frozen 1.0.4 identity (`COSY_VERSION=1.1.32`, `IDE_VERSION=1.0.4`, `USER_AGENT=qoderwork/1.0.4`). `encode.py` feeds COSY_VERSION into `wasm.context_new`, so more's speculative 1.1.0/1.1.18 identity would have packed the wrong version. Kept more's additive OPENAPI_BASE / REALM_GATEWAY / MODEL_SERVER_PATH (still imported by scripts/qwenwork_probe.py), plus main's MACHINE_TYPE and DATA_POLICY. - tests/test_qwenwork.py: union of both import sets; envelope_status (more) and static_headers / translate_model / prepare_infer (main) all exist in the merged chat.py. Docs updated to match the merged behavior: AGENTS.md, upstream-protocol-notes.md and multi-channel-v2.md no longer claim the HTTP+SSE path is deprecated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
business.product/business.type,与Cosy-Business-*头同源,修复固定503 Model catalog unavailable([Bug]: QwenWork上游返回异常 #82)。Encode=1组包,依赖wasmtime。Test plan
pytest tests/test_qwenwork.py(24 passed)flash、pro、qwen3.8-max-preview均返回 200