https://code.claude.com/docs/en/model-config#extended-context-with-1m

已经升级最新版 v2.1.76 ,用的时候还提示: Opus 4.6 with 1M context is not available for your account. Learn more: https://code.claude.com/docs/en/model-config#extended-context-with-1m
已解决,经测试和配置项CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1有关,去掉就好了

1
superares 1 天前
Max, Team, Enterprise 用户才行
|
2
ddhuan 1 天前
你是 max 账号吗?
|
3
zed1018 1 天前
我刚试了一下我的,能用,而且不需要调。默认就是 1M ctxt
|
4
gefangshuai OP @superares #1
是 max |
5
gefangshuai OP |
6
superares 1 天前
model 里面直接选 default 就行了,默认就是 Opus 1m
|
7
gefangshuai OP |
8
superares 1 天前 via Android
你是不是配置过环境变量,设置了 max tokens
|
9
gefangshuai OP |