chore(integration): snapshot local main worktree
This commit is contained in:
@@ -13,9 +13,7 @@ describe('getImportedModelProfile', () => {
|
||||
it.each([
|
||||
'qwen3.6-plus',
|
||||
'qwen3.6-plus-2026-04-02',
|
||||
'qwen3.7-plus',
|
||||
'qwen3.7-plus-2026-05-26',
|
||||
])('returns verified limits for %s', (modelId) => {
|
||||
])('returns verified limits and hybrid-thinking support for %s', (modelId) => {
|
||||
expect(getImportedModelProfile(modelId)).toEqual({
|
||||
modalities: {
|
||||
input: ['text', 'image'],
|
||||
@@ -26,6 +24,66 @@ describe('getImportedModelProfile', () => {
|
||||
output: 65_536,
|
||||
},
|
||||
visionTokenEstimator: 'qwen-32px-grid',
|
||||
pi: {
|
||||
reasoning: true,
|
||||
thinkingLevelMap: {
|
||||
minimal: null,
|
||||
low: null,
|
||||
medium: null,
|
||||
high: 'high',
|
||||
},
|
||||
compat: {
|
||||
thinkingFormat: 'qwen',
|
||||
supportsDeveloperRole: false,
|
||||
supportsReasoningEffort: false,
|
||||
supportsStore: false,
|
||||
},
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
it.each([
|
||||
'qwen3.7-plus',
|
||||
'qwen3.7-plus-2026-05-26',
|
||||
])('returns verified limits for %s without guessing its Pi reasoning map', (modelId) => {
|
||||
expect(getImportedModelProfile(modelId)).toEqual({
|
||||
modalities: {
|
||||
input: ['text', 'image'],
|
||||
output: ['text'],
|
||||
},
|
||||
limit: {
|
||||
context: 1_000_000,
|
||||
output: 65_536,
|
||||
},
|
||||
visionTokenEstimator: 'qwen-32px-grid',
|
||||
});
|
||||
});
|
||||
|
||||
it('returns the verified Qwen3.8 Max Pi reasoning levels', () => {
|
||||
expect(getImportedModelProfile('qwen3.8-max')).toEqual({
|
||||
modalities: {
|
||||
input: ['text', 'image'],
|
||||
output: ['text'],
|
||||
},
|
||||
limit: {
|
||||
context: 1_000_000,
|
||||
output: 131_072,
|
||||
},
|
||||
pi: {
|
||||
reasoning: true,
|
||||
thinkingLevelMap: {
|
||||
minimal: null,
|
||||
low: 'low',
|
||||
medium: 'medium',
|
||||
high: 'xhigh',
|
||||
},
|
||||
compat: {
|
||||
thinkingFormat: 'qwen',
|
||||
supportsDeveloperRole: false,
|
||||
supportsReasoningEffort: true,
|
||||
supportsStore: false,
|
||||
},
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user