Skip to content

Commit ffcb12e

Browse files
authored
Merge pull request #16 from FammasMaz/FammasMaz-patch-1
fix: stream(legacy): include delta.reasoning alongside reasoning_summary
2 parents 48780c9 + b0de3a2 commit ffcb12e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chatmock/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def _extract_usage(evt: Dict[str, Any]) -> Dict[str, int] | None:
424424
"choices": [
425425
{
426426
"index": 0,
427-
"delta": {"reasoning_summary": delta_txt},
427+
"delta": {"reasoning_summary": delta_txt, "reasoning": delta_txt},
428428
"finish_reason": None,
429429
}
430430
],

0 commit comments

Comments
 (0)