Skip to content

feat: support custom Claude model#527

Open
metowolf wants to merge 7 commits intotiann:mainfrom
metowolf:cursor/claude-custom-model-c218
Open

feat: support custom Claude model#527
metowolf wants to merge 7 commits intotiann:mainfrom
metowolf:cursor/claude-custom-model-c218

Conversation

@metowolf
Copy link
Copy Markdown
Contributor

@metowolf metowolf commented Apr 26, 2026

Summary

  • Add support for specifying custom Claude models when spawning sessions
  • Infer custom Claude model from the model value automatically
  • Update web UI to allow custom model input with proper i18n labels
  • Fix related model options test

Changes

  • Spawn: Support custom model type for Claude agent, allowing users to input any model name (e.g., custom model versions or preview builds)
  • Model inference: Automatically detect and handle custom Claude model strings that don't match presets
  • Web UI: Add custom model input field with translated placeholder and validation messages
  • Tests: Update model options test to include the new custom option

Test plan

  • Model options test passes with custom option included
  • Manual testing of custom model input in web UI
  • Verify custom model is correctly passed to Claude agent on spawn

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Findings

  • No issues found.

Summary

  • Review mode: initial
  • Reviewed the full diff for runner-spawned Claude model propagation and the NewSession custom model UI. Residual risk: no automated web interaction test covers the custom-model field/validation path.

Testing

  • Not run (automation)

HAPI Bot

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