Skip to content

Conversation

@daniel-lxs
Copy link
Member

@daniel-lxs daniel-lxs commented Sep 23, 2025

Adds gpt-5-codex to OpenAI native models with pricing, tiers, and capabilities per docs.md. No provider changes required; OpenAI Native handler already supports it. All tests pass.


Important

Adds gpt-5-codex model to openAiNativeModels in openai.ts with specific pricing and capabilities, supported by existing handler.

  • Models:
    • Adds gpt-5-codex to openAiNativeModels in openai.ts with specific pricing and capabilities.
    • Supports images, prompt cache, reasoning effort (medium), verbosity, and has a context window of 400,000.
    • Pricing: input $1.25, output $10.0, cache reads $0.13.
  • Behavior:
    • No provider changes needed; existing OpenAI Native handler supports the new model.
    • All tests pass, ensuring no breaking changes.

This description was created by Ellipsis for 53a7944. You can customize this summary. It will automatically update as commits are pushed.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. Enhancement New feature or request labels Sep 23, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Review] in Roo Code Roadmap Sep 23, 2025
Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found issues that need attention before merging.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 23, 2025
@mrubens mrubens merged commit 1a4fb7f into main Sep 23, 2025
23 checks passed
@mrubens mrubens deleted the feat/openai-add-gpt5-codex branch September 23, 2025 17:35
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Sep 23, 2025
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Sep 23, 2025
mini2s added a commit to zgsm-ai/costrict that referenced this pull request Sep 25, 2025
* Changeset version bump (RooCodeInc#7630)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* feat: add run_slash_command tool for executing slash commands (RooCodeInc#7473)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Co-authored-by: Daniel Riccio <[email protected]>

* Focus the extension when receiving bridge commands (RooCodeInc#7633)

* Release: v1.73.0 (RooCodeInc#7636)

* Cloud: remove extension_bridge_enabled for personal users (RooCodeInc#7638)

* Publish token usage metrics (RooCodeInc#7637)

* fix: preserve scroll position when switching tabs in settings (RooCodeInc#7587)

* fix: preserve scroll position when switching tabs in settings

* ui(settings): restore scroll synchronously to prevent flicker; dx(ui): name TabContent for clearer DevTools

---------

Co-authored-by: Daniel Riccio <[email protected]>

* feat: add Kimi K2 Turbo model configuration to moonshotModels (RooCodeInc#7593)

* feat: add Kimi K2 Turbo model configuration to moonshotModels

* feat: update Kimi K2 Turbo pricing and cache read prices

* fix: use askApproval wrapper in insert_content and search_and_replace tools (RooCodeInc#7649)

Fixes issue where isWriteProtected was incorrectly passed as the partial flag
to task.ask(), causing "Current ask promise was ignored (#1)" error.

Both tools now use the askApproval wrapper function which correctly handles
the parameter ordering, passing undefined for progressStatus and isWriteProtected
as the fourth parameter.

Fixes RooCodeInc#7648

Co-authored-by: Roo Code <[email protected]>

* Release v3.26.6 (RooCodeInc#7650)

* Changeset version bump (RooCodeInc#7651)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Delete .github/workflows/discord-pr-notify.yml

* Remove unused slack notif (RooCodeInc#7655)

* Handle zsh process substitution correctly (RooCodeInc#7658)

* Handle zsh glob qualifiers correctly (RooCodeInc#7667)

* Minor zh-TW Traditional Chinese locale typo fix (RooCodeInc#7672)

* feat: Add DeepInfra as a model provider in Roo Code (RooCodeInc#7677)

* fix: validate MCP tool exists before execution (RooCodeInc#7632)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Daniel Riccio <[email protected]>

* fix: add error transform to cryptic openAI SDK errors when API key is invalid (RooCodeInc#7586)

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Daniel Riccio <[email protected]>

* feat: OpenAI Responses API service tiers (flex/priority) — UI selector, pricing, and tests (RooCodeInc#7646)

Co-authored-by: Daniel Riccio <[email protected]>

* fix: prevent countdown timer from showing in history for answered follow-up questions (RooCodeInc#7686)

* fix: Fix the issue of Moonshot's maximum return token count being limited to 1024 (RooCodeInc#7673)

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>

* feat: update kimi-k2-0905-preview and kimi-k2-turbo-preview (RooCodeInc#7663)

* Fix test

* Release v3.26.7 (RooCodeInc#7691)

* Delete .changeset/petite-rats-admire.md

* feat: Add Kimi K2 0905 model to Groq, Moonshot, and Fireworks providers (RooCodeInc#7693)

* Use an allowlist to keep the prompt default shell sane (RooCodeInc#7681)

* Changeset version bump (RooCodeInc#7690)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* Fix: Improve WelcomeView styling and readability (RooCodeInc#7682)

* fix: improve WelcomeView styling and readability

- Reduced excessive padding from p-16 to p-6
- Removed excessive bold text throughout
- Made provider cards more compact with smaller icons (32x32px)
- Increased introduction text size from text-sm to text-base for better visibility
- Centered the main greeting title
- Improved visual hierarchy with proper text sizing and spacing
- Added subtle borders and improved color contrast

* fix: remove undefined color class from incentive text

Removed the text-vscode-warningForeground class as it wasn't defined in index.css. The incentive text now uses default color which looks good.

* feat: add Kimi K2-0905 model to Chutes provider (RooCodeInc#7701)

Co-authored-by: Roo Code <[email protected]>

* fix: handle array paths from VSCode terminal profiles (RooCodeInc#7697)

* fix: handle array paths from VSCode terminal profiles

- Updated terminal profile interfaces to support string | string[] for path property
- Added normalizeShellPath helper to safely extract first element from array paths
- Modified isShellAllowed to handle both string and array inputs
- Updated getWindowsShellFromVSCode, getMacShellFromVSCode, and getLinuxShellFromVSCode to use normalizeShellPath
- Added comprehensive tests for array path handling

Fixes RooCodeInc#7695

* feat: add validateShellPath export for robust shell validation

- Created validateShellPath as a public API for shell path validation
- Refactored internal validation logic into isShellAllowedInternal
- Added comprehensive test coverage for all edge cases
- Maintains backward compatibility with deprecated isShellAllowed
- Handles arrays, strings, null, undefined, and nested arrays gracefully

* Simplify roomote's work a little

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: John Richmond <[email protected]>

* Edit/Delete User Message (RooCodeInc#7447)

* fix: prevent stack overflow in codebase indexing for large projects (RooCodeInc#7712)

* fix: identify mcp and slash command config path in multiple folder workspace (RooCodeInc#6904)

* fix: resolve CI e2e test ETIMEDOUT errors when downloading VS Code (RooCodeInc#7583)

* fix: Tackling Race/State condition issue by Changing the Code Design for Gemini Grounding Sources (RooCodeInc#7434)

Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>

* fix: preserve context by retrying with full conversation on invalid previous_response_id (RooCodeInc#7714)

* chore: add changeset for v3.26.8 (RooCodeInc#7715)

* feat(checkpoints): create checkpoint when user sends a message (RooCodeInc#7713)

* feat(checkpoints): create checkpoint on user message send

* fix(checkpoints): suppress implicit user-message checkpoint row; keep current checkpoint updated without a chat row

* Fix checkpoint suppression for user messages

- Propagate suppressMessage flag through event chain properly
- Update ChatView to check checkpoint metadata for suppressMessage flag
- Ensure checkpoint messages are created but not rendered when suppressed
- Fix bug where checkpointSave(false) should have been checkpointSave(true)

* fix: only create checkpoint on user message when files have changed

- Changed allowEmpty from true to false in checkpointSave call
- Checkpoints will now only be created when there are actual file changes
- This avoids creating empty commits in the shadow git repository

* test: update checkpoint test to include suppressMessage parameter

- Fixed test expectation to match the new function signature
- saveCheckpoint now expects both allowEmpty and suppressMessage parameters

---------

Co-authored-by: Roo Code <[email protected]>
Co-authored-by: Hannes Rudolph <[email protected]>
Co-authored-by: Daniel Riccio <[email protected]>

* Bump to 3.27.0 (RooCodeInc#7719)

* Changeset version bump (RooCodeInc#7716)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

* fix: update DeepSeek pricing to new unified rates effective Sept 5, 2025 (RooCodeInc#7687)

- Updated deepseek-chat pricing: $0.56 input (cache miss), $0.07 (cache hit), $1.68 output
- Updated deepseek-reasoner pricing: same unified rates as deepseek-chat
- Both models now have identical pricing as per DeepSeek announcement
- Pricing takes effect at 16:00 UTC, Sept 5th, 2025

Fixes RooCodeInc#7685

Co-authored-by: Roo Code <[email protected]>

* feat: replace cloud waitlist ad with direct Cloud link in navigation (RooCodeInc#7742)

Co-authored-by: Roo Code <[email protected]>

* feat: show dash instead of zero for missing data on evals page (RooCodeInc#7748)

Co-authored-by: Roo Code <[email protected]>

* Feature/update vertex ai models and regions (RooCodeInc#7727)

* Add model info to eval runs table (RooCodeInc#7749)

* chore(deps): update dependency eslint-config-prettier to v10.1.8 (RooCodeInc#6464)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency esbuild to v0.25.9 (RooCodeInc#5455)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @changesets/cli to v2.29.6 (RooCodeInc#7376)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency nock to v14.0.10 (RooCodeInc#6465)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint-plugin-turbo to v2.5.6 (RooCodeInc#7764)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor(utils): simplify shell detection logic

* Merge remote-tracking branch 'upstream/main' into roo-to-main

* test: update shell detection test expectation and mocks

* test: add mock cleanup in shell detection tests

* test: update shell detection tests to prioritize PowerShell 7

* fix(workspace-event-monitor): increase max retries and improve retry logic

* refactor(codebase): improve error handling and workspace validation

* Revert PR