Skip to content

fix(agent_harness): only enable latest Claude models in daytona harness - #5968

Merged
ehayes2000 merged 1 commit into
mainfrom
daytona-latest-claude-models
Aug 31, 2026
Merged

ehayes2000 merged 1 commit into
mainfrom
daytona-latest-claude-models

Conversation

@ehayes2000

Copy link
Copy Markdown
Contributor

Whitelists the Daytona sandbox's opencode config to just the latest Claude model per tier (Opus 5, Sonnet 5, Haiku 4.5), pruning the older/dated duplicates the Anthropic model picker otherwise exposed.

@coderabbitai

coderabbitai Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 4d01dfa0-3106-437d-ae98-e3dcf3f5b3fb

📥 Commits

Reviewing files that changed from the base of the PR and between 4676fdd and 26991da.

📒 Files selected for processing (1)
  • crates/agent_harness/container/opencode.json

Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Summary by CodeRabbit

  • New Features
    • Added support for Anthropic models, including Claude Opus 5, Sonnet 5, and Haiku 4.5.
    • Restricted available model selection to the approved Claude models.

Walkthrough

The OpenCode container configuration adds an Anthropic provider. It restricts the provider to Claude Opus 5, Sonnet 5, and Haiku 4.5.

Merge Risk: ⚪ Minimal · up to 26991

This is a localized configuration change that limits the Daytona harness to the intended latest Claude models. No actionable merge-blocking risk remains beyond normal checks and review.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description accurately explains the OpenCode configuration change and the Claude model whitelist.
Title check ✅ Passed The title uses the conventional commits format, describes the model whitelist change, and is 71 characters long, below the 72-character limit.
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.

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.

@ehayes2000
ehayes2000 merged commit 7d75517 into main Aug 31, 2026
29 checks passed
@ehayes2000
ehayes2000 deleted the daytona-latest-claude-models branch August 31, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant