Skip to content

Append [1m] to Opus >=4.6 and Sonnet 4.6 model for 1m context length support#118

Merged
AarushiShah-db merged 5 commits into
mainfrom
fix/claude-1m-suffix
May 28, 2026
Merged

Append [1m] to Opus >=4.6 and Sonnet 4.6 model for 1m context length support#118
AarushiShah-db merged 5 commits into
mainfrom
fix/claude-1m-suffix

Conversation

@AarushiShah-db
Copy link
Copy Markdown
Collaborator

@AarushiShah-db AarushiShah-db commented May 28, 2026

Summary

  • Add [1m] suffix when writing Claude Code settings for Opus 4.6+ and Sonnet 4.6 models.
  • Allow databricks-claude-opus-4-8 to be discovered and selected as the default Opus model.
  • Add regression coverage for Claude settings rendering and Opus 4.8 discovery.

Testing

  • uv run pytest
  • uv run pytest tests/test_databricks.py
  • uv run ruff check src/ucode/agents/claude.py tests/test_agent_claude.py
  • uv run ruff check src/ucode/databricks.py tests/test_databricks.py

@AarushiShah-db AarushiShah-db changed the title claude: append [1m] to Opus >=4.6 and Sonnet 4.6 model ids when writi… Append [1m] to Opus >=4.6 and Sonnet 4.6 model for 1m context length support May 28, 2026
@AarushiShah-db AarushiShah-db requested a review from rohita5l May 28, 2026 20:21
Comment thread src/ucode/databricks.py
Comment thread src/ucode/agents/claude.py
@AarushiShah-db AarushiShah-db merged commit 444e74f into main May 28, 2026
2 checks passed
@AarushiShah-db AarushiShah-db deleted the fix/claude-1m-suffix branch May 28, 2026 20:41
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.

2 participants