Skip to content

feat: make qwen 3.8 the default inference model and deprecate qwen 3.6 - #5

Merged
ftsartek merged 1 commit into
mainfrom
feat/qwen-3-8
Oct 6, 2026
Merged

ftsartek merged 1 commit into
mainfrom
feat/qwen-3-8

Conversation

@ftsartek

@ftsartek ftsartek commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

What does this MR do and why?

The SiteHost AI Platform has moved its inference model from Qwen 3.6 27B to Qwen 3.8 27B. /v1/models now lists Qwen/Qwen3.8-27B only. The platform still accepts Qwen/Qwen3.6-27B as an alias, but no longer lists it.

This PR adds InferenceModel::QWEN_3_8_27B and makes it the default for chat(), response() and structuredResponse(). QWEN_3_6_27B stays, with a @deprecated docblock that PHPStan and IDEs will flag. The README and the 1.3.0 CHANGELOG entry point to the models page for the retirement timeline. Release as the v1.3.0 tag.

The fixtures are copied from sthai-py, where they were re-captured against Qwen 3.8, so the two fixture directories stay identical. The tests now pass Qwen/Qwen3.8-27B wherever they spelled out the model. One assertion in StructuredResponseTest pinned the old model's answer (a population of 215400). It now checks that the value is an integer, matching the Python suite, which asserts on shape rather than content.

References

- add InferenceModel::QWEN_3_8_27B and deprecate QWEN_3_6_27B
- switch chat(), response() and structuredResponse() defaults to qwen 3.8
- copy fixtures re-captured against qwen 3.8 from sthai-py
- update test model strings and check the population field's type instead of pinning the old model's answer
- add 1.3.0 changelog entry and readme deprecation note
@ftsartek
ftsartek merged commit 2c0da38 into main Oct 6, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant