Repository navigation
Commit 9732962
committed
fix: keep denied preflight test off the per-message tiktoken rebuild
The test's loop token accounting rebuilt the o200k_base encoder for every
counted message, which can exceed the 10s loop timeout on CI runners
(ubuntu failed on 4 consecutive commits). Use an Anthropic-family model so
counting takes the cheap character heuristic, and give the test its own
session id so the per-session tokenizer cache cannot pin another family.1 parent 216370a commit 9732962
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
174 | 177 | | |
175 | 178 | | |
176 | 179 | | |
| |||
0 commit comments