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

Đang mở
#39,025 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
24.8k
Fork
6.4k
Merge trung bình
4 giờ 29 phút
Pull request đã merge (30 ngày)
488

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pingdotgg/t3code

Tất cả issue của pingdotgg/t3code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.