• ianshaw's avatar
    fix(frontend): 同步 OpenAI GPT-5 系列模型列表 · fe8198c8
    ianshaw authored
    修复编辑账号页面 GPT-5 模型只显示 3 个的问题:
    - 原来只有: gpt-5, gpt-5-mini, gpt-5-nano
    - 现在添加完整的 22 个模型,包括:
      * GPT-5 系列: gpt-5, gpt-5-codex, gpt-5-chat, gpt-5-pro, gpt-5-mini, gpt-5-nano 及各时间戳版本
      * GPT-5.1 系列: gpt-5.1, gpt-5.1-codex, gpt-5.1-codex-max, gpt-5.1-codex-mini 及各版本
      * GPT-5.2 系列: gpt-5.2, gpt-5.2-codex, gpt-5.2-pro 及各版本
    - 更新快捷预设按钮,新增 GPT-5.1, GPT-5.2, GPT-5.1 Codex 选项
    
    与后端定价文件 (model_prices_and_context_window.json) 保持一致。
    
    Fixes issue introduced in fb86002e (feat: 添加模型白名单选择器组件)
    Related-to: fb86002e
    fe8198c8
useModelWhitelist.ts 11.8 KB