Skip to content

Commit dfb23f3

Browse files
committed
remove unnecessary cahnges
1 parent 742748d commit dfb23f3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

portkey_ai/integrations/strands.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ def format_messages(
124124
):
125125
formatted.append({"role": role, "content": part["text"]})
126126
elif isinstance(part, dict) and "toolUse" in part:
127-
formatted.append(self._format_tool_use_part(part)) # type: ignore[arg-type]
127+
formatted.append(self._format_tool_use_part(part))
128128
elif (
129129
isinstance(part, dict)
130130
and "toolResult" in part
131131
and self._current_tool_use_id is not None
132132
):
133-
formatted.append(self._format_tool_result_part(part)) # type: ignore[arg-type]
133+
formatted.append(self._format_tool_result_part(part))
134134

135135
return formatted
136136

@@ -339,7 +339,7 @@ async def stream(
339339
state["tool_use_id"] = None
340340
state["tool_name"] = None
341341

342-
async def structured_output( # type: ignore[override]
342+
async def structured_output(
343343
self,
344344
output_model: "Type[T]",
345345
prompt: List[dict[str, Any]],

0 commit comments

Comments
 (0)