fix(llm): refresh web and packed-fixture expectations for the new retry code

Adding `MALFORMED_TOOL_CALL` to the default retryable set changes two
expected outputs the session snapshot lane does not own: the shipped Web
composition's inline snapshot, and the canonical packed layout of the
refreshed `empty-response-retry` fixture.
This commit is contained in:
Yichen Jiang 2026-09-02 09:36:54 +08:00
parent a1271a4903
commit 96cbd8d9e6
2 changed files with 3 additions and 1 deletions

View file

@ -93,6 +93,7 @@ it('assembles the shipped Web transport, catalog, guidance, and defaults', async
"mode": "normal",
"retryableCodes": [
"EMPTY_RESPONSE",
"MALFORMED_TOOL_CALL",
"RATE_LIMIT",
"SERVER",
"TIMEOUT",
@ -126,6 +127,7 @@ it('assembles the shipped Web transport, catalog, guidance, and defaults', async
"mode": "normal",
"retryableCodes": [
"EMPTY_RESPONSE",
"MALFORMED_TOOL_CALL",
"RATE_LIMIT",
"SERVER",
"TIMEOUT",

View file

@ -20,6 +20,6 @@
{"type":"assistant/chunk","data":{"turn":1,"step":1,"chunk":{"type":"block-end","index":0,"block":{"type":"text","text":"Recovered."}}}}
{"type":"assistant/chunk","data":{"turn":1,"step":1,"chunk":{"type":"usage","usage":{"inputTokens":12,"outputTokens":3}}}}
{"type":"assistant/chunk","data":{"turn":1,"step":1,"chunk":{"type":"finish","reason":{"kind":"stop"}}}}
{"type":"assistant/message","data":{"turn":1,"step":1,"message":{"role":"assistant","content":[{"type":"text","text":"Recovered."}],"source":{"kind":"model","provider":"deepseek-official","model":"deepseek-v4-flash"},"id":"{{message:3}}"},"usage":{"inputTokens":12,"outputTokens":3}},"sourceEventSeqs":[[16,20]],"surfaceOp":"append"}
{"type":"assistant/message","data":{"turn":1,"step":1,"message":{"role":"assistant","content":[{"type":"text","text":"Recovered."}],"source":{"kind":"model","provider":"deepseek-official","model":"deepseek-v4-flash"},"id":"{{message:3}}"},"usage":{"inputTokens":12,"outputTokens":3}},"sourceEventSeqs":[16,17,18,19,20],"surfaceOp":"append"}
{"type":"step/end","data":{"turn":1,"step":1}}
{"type":"turn/end","data":{"turn":1,"reason":{"kind":"completed"}}}