fix(cli): bump default Anthropic model to opus-4-7 and unify Windows path display#152
Open
ZhengyaoJiang wants to merge 1 commit into
Open
fix(cli): bump default Anthropic model to opus-4-7 and unify Windows path display#152ZhengyaoJiang wants to merge 1 commit into
ZhengyaoJiang wants to merge 1 commit into
Conversation
…path display Two small Windows-and-defaults polish fixes surfaced during a cold-start UX audit: 1. **Default Anthropic model**: bump from claude-opus-4-5 to claude-opus-4-7. 4-7 is GA and is already what our own prompt-compression example uses. The default model only kicks in when a user passes --api-key anthropic=<key> without --model, so this only affects BYOK Anthropic users who haven't picked a specific model. 2. **Path display in `weco setup` output**: on Windows the install confirmation printed e.g. `Installing Weco for Claude Code... done (~/.claude\skills\weco)` — forward slash from the hard-coded prefix mixed with backslashes from `path.relative_to(home)`. Use `.as_posix()` so it renders as `~/.claude/skills/weco` on every platform.
Contributor
|
Thanks - could you please update the target to dev for this one? |
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
Two small polish fixes surfaced during a cold-start UX audit on Windows:
Default Anthropic model 4-5 → 4-7 (
weco/constants.py)The default Anthropic model in
DEFAULT_MODELSis currentlyclaude-opus-4-5. Claude 4-7 is GA and is already what our own prompt-compression example uses (examples/prompt-compression/README.md). The default model only kicks in when a user passes--api-key anthropic=<key>without--model, so this only affects BYOK Anthropic users who haven't picked a specific model.Path display in
weco setupoutput (weco/commands/setup/install.py)On Windows the install confirmation printed:
The forward slash from the hard-coded
~/{...}prefix mixed with backslashes frompath.relative_to(home). Using.as_posix()gives~/.claude/skills/wecoconsistently on every platform.Test plan
from weco import constantsreturnsopus-4-7as default Anthropic model_shorten(Path.home() / '.claude' / 'skills' / 'weco')returns~/.claude/skills/wecoon Windowsweco setup claude-codestill shows~/.claude/skills/weco(no regression)Context
Surfaced from a cold-start UX walkthrough on Windows (multi-persona audit, 2026-05-23). The path-display issue was directly observed; the model-default mismatch was source-confirmed in the same audit.
🤖 Generated with Claude Code