[KongchangAI]
Unverified50% confidenceSolutionExact time

In streaming responses, the client may disconnect midway or stop reading, so cost recording should be placed in the finally block of try/finally rather than after the consumption loop, to ensure that early exits are also recorded.

1
Sources
50%
Confidence
Long-term
Relevance
10/13/2026
First Seen

Sources

Related Entities

Related Claims

Cite This Claim

Stable URI
https://kongchang.com/claim/1014561
API
curl https://kongchang.com/api/v1/knowledge/claims/1014561
MCP
get_claim(id=1014561)