fix(bedrock): preserve reasoningContent across converse normalization

This commit is contained in:
Molvikar 2026-05-05 22:30:50 +03:00 committed by Teknium
parent f0dd5b9c10
commit 8d363f8d54
3 changed files with 33 additions and 2 deletions

View file

@ -994,6 +994,7 @@ class TestStreamConverseWithCallbacks:
events, on_reasoning_delta=lambda t: reasoning.append(t),
)
assert reasoning == ["Let me think..."]
assert result.choices[0].message.reasoning_content == "Let me think..."
# ---------------------------------------------------------------------------