[Bug]: CACHE HIT - after cache cold, model change does not work

未关闭
#39,025 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
backend

调研方向

The issue identifies the affected area as apps/web but names no files or tests. Start by tracing how model changes are passed from the chat interface into the request and how cache hits are handled; the issue reports that the first request after changing from Fable to Haiku still uses Fable, while the next uses Haiku. Done means the first request after a model change uses the selected model and the behavior is covered by a reproducible test.

由索引模型根据 Issue 内容生成。

描述

bug needs-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. long night session with fable.
  2. cache cold
  3. tried to change to haiku to compact session
  4. T3 confirmed model changed
  5. Cache hit went to Fable still
T3_Code_(Nightly)_2LSNu0Vtz0 image

Very next message went to Haiku

image
Expected behavior

Effectively change the model and avoid cache hit on the higher model. Btw, the automatic compact did not kick in for some reason in this session

Actual behavior

T3 or easy cli proxy cli will use the same mother model for 1 call and change for the second call

Impact

Minor bug or occasional failure

Version or commit

Latest on 11-18-2026 night

Environment

Windows 11

Logs or stack traces
05:14:18
11/19/2026
claude-haiku-5-5
medium
[email protected]
12••••
Default key
Success
67K
59.4K
7.6K
6.6K
95.42%
56.7K
TTFT
439 ms
Elapsed
33.7 s
225.2 t/s	
$0.004705
05:14:14
claude-haiku-5-5
medium
[email protected]
12••••
Default key
Success
57.2K
56.7K
559
233
56.78%
32.2K
TTFT
768 ms
Elapsed
3.43 s
163.2 t/s	
$0.003664
05:08:55
claude-haiku-5-5
medium
[email protected]
12••••
Default key
Success
62.6K
61.3K
1.3K
641
52.52%
32.2K
TTFT
663 ms
Elapsed
6.66 s
201.7 t/s	
$0.004629
05:08:47
claude-haiku-5-5
medium
[email protected]
12••••
Default key
Success
67.7K
66K
1.6K
989
89.83%
59.3K
TTFT
522 ms
Elapsed
6.9 s
239.0 t/s	
$0.002256
05:08:15
claude-haiku-5-5
medium
[email protected]
12••••
Default key
Success
65.7K
59.3K
6.4K
5.6K
95.59%
56.7K
TTFT
584 ms
Elapsed
31.5 s
204.3 t/s	
$0.004106
05:08:12
claude-haiku-5-5
medium
[email protected]
12••••
Default key
Success
57.1K
56.7K
452
122
56.77%
32.2K
TTFT
604 ms
Elapsed
2.42 s
187.2 t/s	
$0.003611
05:01:40
claude-fable-5-2
medium
[email protected]
12••••
Default key
Success
478.6K
471K
7.5K
0
0.00%
0
TTFT
3.7 s
Elapsed
70.8 s
106.5 t/s	
$9.873244
Screenshots, recordings, or supporting files

EasyCLIProxyAPI_eyKLR580kp.png
T3_Code_(Nightly)_2LSNu0Vtz0.png
EasyCLIProxyAPI_GA9x3q94Qe.png

Workaround

I tried both changing the model on T3 yesterday and it did not work. Attempted to change on the chat using /model and got the same result.

主要语言
TypeScript
星标
24.8k
派生
6.4k
平均合并
4 小时 29 分钟
30 天内合并 PR
488

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pingdotgg/t3code 的其他 Issue

查看 pingdotgg/t3code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。