Before submitting your bug report
Relevant environment info
- OS: macOS 15.5
- Continue version: 1.0.10
- IDE version: VSCode 1.100.2
- Model: Claude Sonnet 4.0
- config:
- name: Claude 4.0 Sonnet no context
provider: anthropic
model: claude-sonnet-4-20250514
apiKey: same_key1
- name: Claude 4.0 Sonnet with context
provider: anthropic
model: claude-sonnet-4-20250514
apiKey: same_key1
defaultCompletionOptions:
contextLength: 100000
- name: Claude 3.7 Sonnet
provider: anthropic
model: claude-3-7-sonnet-latest
apiKey: same_key1
Description
I have nearly identical config files set up for claude 3.7 and 4.0 but 4.0 gives a vscode popup saying 'File exceeds context lenght'. 3.7 works fine. This happens on two computers (both macOS and vscode).
To reproduce
- save config.yaml:
- name: Claude 4.0 Sonnet no context
provider: anthropic
model: claude-sonnet-4-20250514
apiKey: same_key1
- name: Claude 4.0 Sonnet with context
provider: anthropic
model: claude-sonnet-4-20250514
apiKey: same_key1
defaultCompletionOptions:
contextLength: 100000
- name: Claude 3.7 Sonnet
provider: anthropic
model: claude-3-7-sonnet-latest
apiKey: same_key1
- Select
Claude 4.0 Sonnet no context or Claude 4.0 Sonnet with context in 'Select Model' dropdown.
- Add any file (as small as bytes)
- Get popup
Log output
No console logs are generated by this action.
Before submitting your bug report
Relevant environment info
Description
I have nearly identical config files set up for claude 3.7 and 4.0 but 4.0 gives a vscode popup saying 'File exceeds context lenght'. 3.7 works fine. This happens on two computers (both macOS and vscode).
To reproduce
Claude 4.0 Sonnet no contextorClaude 4.0 Sonnet with contextin 'Select Model' dropdown.Log output