Repository navigation
feat: make qwen 3.8 the default inference model and deprecate qwen 3.6 - #5
Merged
Merged
Conversation
- 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
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.
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/modelsnow listsQwen/Qwen3.8-27Bonly. The platform still acceptsQwen/Qwen3.6-27Bas an alias, but no longer lists it.This PR adds
InferenceModel::QWEN_3_8_27Band makes it the default forchat(),response()andstructuredResponse().QWEN_3_6_27Bstays, with a@deprecateddocblock 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 thev1.3.0tag.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-27Bwherever they spelled out the model. One assertion inStructuredResponseTestpinned 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
feat/qwen-3-8)