Skip to content

Commit dbe04d4

Browse files
committed
fix: formatting and linting
1 parent 871928b commit dbe04d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/strands/models/bedrock.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,8 @@ def _format_bedrock_messages(self, messages: Messages) -> Messages:
316316
filtered_unknown_members = True
317317
continue
318318
# DeepSeek models have issues with reasoningContent
319-
if is_deepseek and "reasoningContent" in content_block:
319+
# TODO: Replace with systematic model configuration registry (https://github.com/strands-agents/sdk-python/issues/780)
320+
if "deepseek" in self.config["model_id"].lower() and "reasoningContent" in content_block:
320321
continue
321322

322323
if "toolResult" in content_block:

0 commit comments

Comments
 (0)