feat: enabled openai reasoning mode and integrated new model catalog
- Enabled OpenAI pro reasoning mode by integrating reasoning aliases and parameter injection. - Expanded the model catalog with GPT-5.6 Luna, Sol, Terra, and Meta Muse Spark 1.1. - Updated model type definitions and provider request transformers to support reasoning configurations. - Refined model generation scripts to include new pro-reasoning aliases for OpenAI providers.
This commit is contained in:
@@ -38,6 +38,7 @@ import {
|
||||
isKimiK27CodeModelId,
|
||||
MODELS_DEV_PROVIDER_DESCRIPTORS,
|
||||
mapModelsDevToModels,
|
||||
projectOpenAIProReasoningAliases,
|
||||
SAKANA_FUGU_STATIC_MODELS,
|
||||
stripFireworksDeepSeekThinkingToggle,
|
||||
} from "../src/provider-models/openai-compat";
|
||||
@@ -585,6 +586,10 @@ async function generateModels() {
|
||||
const name = cleanModelName(model.name);
|
||||
return name === model.name ? model : { ...model, name };
|
||||
});
|
||||
// Re-derive the first-party gpt-5.6 pro-reasoning aliases from the current
|
||||
// base rows (stale previous-snapshot aliases are dropped inside), before the
|
||||
// policy re-bake so the aliases get the same baked thinking metadata.
|
||||
allModels = projectOpenAIProReasoningAliases(allModels);
|
||||
applyGeneratedModelPolicies(allModels);
|
||||
linkOpenAIPromotionTargets(allModels);
|
||||
// Collapse effort-tier variants AFTER the policy re-bake: live-discovery
|
||||
|
||||
Reference in New Issue
Block a user