Skip to content

Commit 62f4ddc

Browse files
authored
Remove more todo comments (#2739)
1 parent 78072d2 commit 62f4ddc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pydantic_ai_slim/pydantic_ai/models/function.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,9 @@ class DeltaThinkingPart:
241241
DeltaThinkingCalls: TypeAlias = dict[int, DeltaThinkingPart]
242242
"""A mapping of thinking call IDs to incremental changes."""
243243

244-
# TODO: Change the signature to Callable[[list[ModelMessage], ModelSettings, ModelRequestParameters], ...]
245244
FunctionDef: TypeAlias = Callable[[list[ModelMessage], AgentInfo], ModelResponse | Awaitable[ModelResponse]]
246245
"""A function used to generate a non-streamed response."""
247246

248-
# TODO: Change signature as indicated above
249247
StreamFunctionDef: TypeAlias = Callable[
250248
[list[ModelMessage], AgentInfo], AsyncIterator[str | DeltaToolCalls | DeltaThinkingCalls]
251249
]

0 commit comments

Comments
 (0)