chore: Claude Sonnet 5 to all providers#3604
Merged
Merged
Conversation
ssddOnTop
approved these changes
Jun 30, 2026
KooshaPari
added a commit
to KooshaPari/forgecode
that referenced
this pull request
Jul 3, 2026
* chore(deps): update rust crate config to v0.15.25 (tailcallhq#3574) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @ai-sdk/google-vertex to v5.0.1 (tailcallhq#3575) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ai to v7.0.3 (tailcallhq#3576) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate posthog-rs to v0.14.2 (tailcallhq#3577) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @ai-sdk/google-vertex to v5.0.2 (tailcallhq#3578) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ai to v7.0.4 (tailcallhq#3579) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate open to v5.3.6 (tailcallhq#3587) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate indicatif to v0.18.5 (tailcallhq#3589) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate posthog-rs to 0.15.0 (tailcallhq#3590) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @ai-sdk/google-vertex to v5.0.3 (tailcallhq#3593) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ai to v7.0.6 (tailcallhq#3594) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @ai-sdk/google-vertex to v5.0.4 (tailcallhq#3601) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ai to v7.0.8 (tailcallhq#3597) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate posthog-rs to v0.15.1 (tailcallhq#3602) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: Claude Sonnet 5 to all providers (tailcallhq#3604) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * chore(deps): update dependency @ai-sdk/google-vertex to v5.0.5 (tailcallhq#3605) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ai to v7.0.9 (tailcallhq#3606) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate clap_complete to v4.6.6 (tailcallhq#3607) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix: Neuralwatt provider (tailcallhq#3608) * chore(deps): update rust crate console to v0.16.4 (tailcallhq#3609) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @ai-sdk/google-vertex to v5.0.7 (tailcallhq#3612) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ai to v7.0.11 (tailcallhq#3613) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @ai-sdk/google-vertex to v5.0.8 (tailcallhq#3617) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate clap_complete to v4.6.7 (tailcallhq#3618) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate ignore to v0.4.27 (tailcallhq#3610) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate indicatif to v0.18.6 (tailcallhq#3619) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate rand to v0.10.2 (tailcallhq#3621) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate posthog-rs to 0.17.0 (tailcallhq#3620) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency csv-parse to v7.0.1 (tailcallhq#3625) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency tsx to v4.22.5 (tailcallhq#3626) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @ai-sdk/google-vertex to v5.0.10 (tailcallhq#3627) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ai to v7.0.14 (tailcallhq#3628) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(sync): regenerate Cargo.lock after upstream merge (resolves cleanly) --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Amit Singh <amitksingh1490@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: KooshaPari <koosha@example.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Claude Sonnet 5 (
claude-sonnet-5) to all providers that hardcode a Claude model catalog, per the models overview docs.Sonnet 5 has a 1M-token context window, 128k max output, supports adaptive thinking (always on), tools, and vision.
Changes
crates/forge_repo/src/provider/provider.json— addedclaude-sonnet-5:claude_code,vertex_ai_anthropic,opencode_zen→claude-sonnet-5bedrock→ all four ID variants matching the existing Sonnet 4.6 pattern:global.,us.,eu., andanthropic.claude-sonnet-5Providers that fetch models dynamically from a
/modelsURL (e.g.anthropic,open_router,requesty) pick up Sonnet 5 automatically.Supporting logic
forge_repo/.../anthropic.rs— excludedsonnet-5from the legacyinterleaved-thinkingbeta header (auto-enabled via adaptive thinking).forge_app/.../model_specific_reasoning.rs— classifiedsonnet-5in theAdaptiveFriendlyfamily (same as Sonnet 4.6).forge_app/.../dto/anthropic/response.rs— set context length to 1M tokens forclaude-sonnet-5.Verification
cargo check -p forge_app -p forge_repopasses