fix(web): fence request telemetry lifecycles

This commit is contained in:
Hypatia May
2026-07-29 17:19:01 +08:00
parent 872cdfc774
commit 55b47657e5
19 changed files with 121 additions and 90 deletions

View File

@@ -118,7 +118,7 @@ describe('runtime client apply', () => {
type: 'session/model-request',
sessionId: 's-state',
turn: 1,
step: 0,
step: 1,
provider: 'test',
model: 'alpha',
contextTokens: 32_000,
@@ -145,7 +145,7 @@ describe('runtime client apply', () => {
type: 'session/model-request',
sessionId: 's-state',
turn: 2,
step: 0,
step: 1,
provider: 'test',
model: 'beta',
contextTokens: 48_000,