• Will Chen's avatar
    Add GPT 5 Codex and Sonnet 4.5 (#1398) · 39266416
    Will Chen 提交于
    Fixes #1405 
        
    <!-- This is an auto-generated description by cubic. -->
    
    ## Summary by cubic
    Adds GPT-5 Codex (OpenAI and Azure) and Claude 4.5 Sonnet to the model
    options to enable newer coding models and larger contexts. Also
    increases Claude 4 Sonnet max output tokens to 32k.
    
    <!-- End of auto-generated description by cubic. -->
    
    
    <!-- CURSOR_SUMMARY -->
    ---
    
    > [!NOTE]
    > Adds GPT‑5 Codex (OpenAI/Azure) and Claude 4.5 Sonnet, and increases
    Claude 4 Sonnet max output tokens to 32k across providers and tests.
    > 
    > - **Models**:
    >   - **OpenAI**: add `gpt-5-codex` (400k context, default temp 1).
    >   - **Anthropic**:
    > - add `claude-sonnet-4-5-20250929` (1M context, `maxOutputTokens:
    32_000`).
    > - update `claude-sonnet-4-20250514` `maxOutputTokens` from `16_000` to
    `32_000`.
    > - **Azure**: add `gpt-5-codex` (400k context, `maxOutputTokens:
    128_000`).
    >   - **Bedrock**:
    > - add `us.anthropic.claude-sonnet-4-5-20250929-v1:0` (1M context,
    `maxOutputTokens: 32_000`).
    > - update `us.anthropic.claude-sonnet-4-20250514-v1:0`
    `maxOutputTokens` to `32_000`.
    > - **E2E tests**:
    > - Update snapshots to reflect `max_tokens` increased to `32000` for
    `anthropic/claude-sonnet-4-20250514` in engine and gateway tests.
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    73298d2da0c833468f957bb436f1e33400307483. This will update automatically
    on new commits. Configure
    [here](https://cursor.com/dashboard?tab=bugbot).</sup>
    <!-- /CURSOR_SUMMARY -->
    39266416
名称
最后提交
最后更新
.cursor/rules 正在载入提交数据...
.devcontainer 正在载入提交数据...
.github 正在载入提交数据...
.husky 正在载入提交数据...
assets 正在载入提交数据...
docs 正在载入提交数据...
drizzle 正在载入提交数据...
e2e-tests 正在载入提交数据...
packages/@dyad-sh 正在载入提交数据...
scaffold 正在载入提交数据...
scripts 正在载入提交数据...
shared 正在载入提交数据...
src 正在载入提交数据...
testing 正在载入提交数据...
tools 正在载入提交数据...
worker 正在载入提交数据...
workers/tsc 正在载入提交数据...
.cursorignore 正在载入提交数据...
.env.example 正在载入提交数据...
.eslintrc.json 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
.oxlintrc.json 正在载入提交数据...
.prettierignore 正在载入提交数据...
.prettierrc 正在载入提交数据...
CONTRIBUTING.md 正在载入提交数据...
LICENSE 正在载入提交数据...
README.md 正在载入提交数据...
SECURITY.md 正在载入提交数据...
biome.json 正在载入提交数据...
components.json 正在载入提交数据...
drizzle.config.ts 正在载入提交数据...
forge.config.ts 正在载入提交数据...
forge.env.d.ts 正在载入提交数据...
index.html 正在载入提交数据...
merge.config.ts 正在载入提交数据...
package-lock.json 正在载入提交数据...
package.json 正在载入提交数据...
playwright.config.ts 正在载入提交数据...
tsconfig.app.json 正在载入提交数据...
tsconfig.json 正在载入提交数据...
tsconfig.node.json 正在载入提交数据...
vite.main.config.mts 正在载入提交数据...
vite.preload.config.mts 正在载入提交数据...
vite.renderer.config.mts 正在载入提交数据...
vite.worker.config.mts 正在载入提交数据...
vitest.config.ts 正在载入提交数据...