fix: remove dated OpenAI model variants and GPT-5.2 Pro from catalog

Remove 18 duplicate OpenAI models with date suffixes (e.g. 2025-04-14)
and GPT-5.2 Pro (Responses API only) to keep the model list clean.
This commit is contained in:
nogueiraguh
2026-03-04 14:58:39 -03:00
parent 2071fa037a
commit 7448f98ce0
2 changed files with 1 additions and 38 deletions

View File

@@ -281,8 +281,7 @@ function rChat(){
// Skip non-chat models: Codex (completions only), Image, Audio, Guard, ProtectAI, GPT-oss, Pro (Responses API only)
const skip=new Set(['openai.gpt-image-1','openai.gpt-image-1.5','openai.gpt-audio','meta.llama-guard-4-12b','protectai.deberta-v3-base-prompt-injection-v2',
'openai.gpt-5.3-codex','openai.gpt-5.2-codex','openai.gpt-5.1-codex','openai.gpt-5.1-codex-max','openai.gpt-5.1-codex-mini','openai.gpt-5-codex',
'openai.gpt-oss-120b','openai.gpt-oss-20b',
'openai.gpt-5.2-pro','openai.gpt-5.2-pro-2025-12-11']);
'openai.gpt-oss-120b','openai.gpt-oss-20b']);
const provs={};for(const[mid,info]of Object.entries(S.models)){if(skip.has(mid))continue;const p=info.provider||'other';if(!provs[p])provs[p]=[];provs[p].push({id:mid,name:info.name})}
const provOrder=['openai','google','meta','xai'];
let ddItems=`<div class="itm${!S.chatModel?' sel':''}" onclick="pickModel('')">Agente Local (sem IA)</div>`;