Skip to content

feat: update default AI models - #276

Merged
parse merged 1 commit into
mainfrom
codex/update-provider-model-defaults
Aug 9, 2026
Merged

feat: update default AI models#276
parse merged 1 commit into
mainfrom
codex/update-provider-model-defaults

Conversation

@parse

@parse parse commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • update stable fast and advanced defaults for Gemini, OpenAI, and Anthropic
  • sync provider tests, schemas, environment examples, and documentation
  • remove an empty test placeholder and stabilize a Structurizr integration timeout

Verification

  • core and web CI checks
  • 836 core tests
  • Markdown lint and commit hooks

Summary by CodeRabbit

  • New Features

    • Updated default AI models for Gemini, OpenAI, and Anthropic providers.
    • Gemini now uses newer fast and advanced models.
    • OpenAI now uses updated fast and advanced models.
    • Anthropic advanced analysis now uses Claude Sonnet 5.
  • Documentation

    • Updated AI provider reference documentation and configuration schemas to reflect the latest default model selections.

Keep each provider on current stable models while preserving the fast and
advanced pipeline roles.
@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 26d0f567-0ef9-4eb4-86bb-89be90a8fa56

📥 Commits

Reviewing files that changed from the base of the PR and between 2b04848 and 3fc58f9.

📒 Files selected for processing (12)
  • .env.example
  • packages/core/schemas/eroderc.schema.json
  • packages/core/src/adapters/structurizr/__tests__/integration.test.ts
  • packages/core/src/pipelines/__tests__/analyze.test.ts
  • packages/core/src/providers/anthropic/__tests__/provider.test.ts
  • packages/core/src/providers/anthropic/models.ts
  • packages/core/src/providers/gemini/__tests__/provider.test.ts
  • packages/core/src/providers/gemini/models.ts
  • packages/core/src/providers/openai/__tests__/provider.test.ts
  • packages/core/src/providers/openai/models.ts
  • packages/web/public/schemas/v0/eroderc.schema.json
  • packages/web/src/content/docs/docs/reference/ai-providers.md

📝 Walkthrough

Walkthrough

The change updates default Anthropic, Gemini, and OpenAI model identifiers across provider mappings, schemas, environment examples, documentation, and tests. It also updates Gemini thinking settings and increases one integration-test timeout.

Changes

AI model defaults

Layer / File(s) Summary
Provider mappings and request expectations
packages/core/src/providers/*
Provider constants and tests use the new Anthropic, Gemini, and OpenAI models. Gemini tests use thinkingLevel values.
Configuration defaults and documentation
.env.example, packages/core/schemas/..., packages/web/public/schemas/..., packages/web/src/content/docs/...
Configuration examples, schemas, and provider documentation list the updated defaults.

Structurizr test timing

Layer / File(s) Summary
DSL directory-resolution test
packages/core/src/adapters/structurizr/__tests__/integration.test.ts
The asynchronous assertion now has a 10-second timeout.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • erode-app/erode#52: Updates the Gemini advanced model default in overlapping configuration, schema, documentation, and provider mapping locations.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the primary change: updating the default AI models.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/update-provider-model-defaults

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@parse
parse marked this pull request as ready for review August 9, 2026 17:54
@parse
parse requested a review from a team as a code owner August 9, 2026 17:54
@greptile-apps

greptile-apps Bot commented Aug 9, 2026

Copy link
Copy Markdown

Greptile Summary

The PR consistently updates the default fast and advanced AI models across runtime constants, configuration schemas, tests, environment examples, and provider documentation.

  • Updates Gemini, OpenAI, and Anthropic model defaults and corresponding provider expectations.
  • Keeps the core and published web configuration schemas synchronized.
  • Extends one Structurizr integration-test timeout and removes an empty test file.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete changed-code defect established.

Runtime defaults, schemas, tests, environment examples, and documentation remain synchronized, and the ancillary test-only changes do not alter production behavior.

Important Files Changed

Filename Overview
packages/core/src/providers/gemini/models.ts Updates both Gemini model-tier defaults, with matching tests, schemas, environment examples, and documentation.
packages/core/src/providers/openai/models.ts Updates both OpenAI model-tier defaults consistently across runtime and user-facing configuration surfaces.
packages/core/src/providers/anthropic/models.ts Updates the Anthropic advanced-model default while retaining the existing fast model.
packages/core/schemas/eroderc.schema.json Synchronizes configuration-schema defaults with the provider runtime constants.
packages/web/public/schemas/v0/eroderc.schema.json Keeps the published web schema aligned with the core configuration schema.
packages/core/src/adapters/structurizr/tests/integration.test.ts Increases the timeout for the DSL path-resolution integration test without changing production behavior.
packages/web/src/content/docs/docs/reference/ai-providers.md Documents the same provider defaults introduced by the runtime changes.

Reviews (1): Last reviewed commit: "feat: update default ai models" | Re-trigger Greptile

@parse
parse merged commit 203ee9a into main Aug 9, 2026
10 checks passed
@parse
parse deleted the codex/update-provider-model-defaults branch August 9, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant