fix(catalog): corrected qwen3.8 max discovery metadata
Curated reasoning, multimodal input, context limits, and the provider-specific effort ladder for the discovered Alibaba Token Plan model. Fixes #8019
This commit is contained in:
@@ -172,7 +172,13 @@ export function applyGeneratedModelPolicies(models: ModelSpec<Api>[]): void {
|
||||
*/
|
||||
export function rebakeModelThinking(model: ModelSpec<Api>): void {
|
||||
if (isVariantCollapsedSpec(model)) return;
|
||||
if (model.provider === "alibaba-token-plan" && model.id === "qwen3.8-max-preview" && model.thinking) return;
|
||||
if (
|
||||
model.provider === "alibaba-token-plan" &&
|
||||
(model.id === "qwen3.8-max-preview" || model.id === "qwen3.8-max") &&
|
||||
model.thinking
|
||||
) {
|
||||
return;
|
||||
}
|
||||
const requiresProviderAuthoredEffort =
|
||||
model.provider === "umans" && (model.thinking?.requiresEffort === true || model.id === "umans-kimi-k2.7");
|
||||
const thinking = resolveModelThinking({ ...model, thinking: undefined }, buildCompat(model));
|
||||
|
||||
Reference in New Issue
Block a user