Skip to content

Commit 2c0587d

Browse files
authored
fix(py/genkit/ai): add missing type annotation (#3146)
1 parent 1422e01 commit 2c0587d

File tree

1 file changed

+1
-1
lines changed
  • py/packages/genkit/src/genkit/ai

1 file changed

+1
-1
lines changed

py/packages/genkit/src/genkit/ai/_aio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async def generate(
8181
messages: list[Message] | None = None,
8282
tools: list[str] | None = None,
8383
return_tool_requests: bool | None = None,
84-
tool_choice: ToolChoice = None,
84+
tool_choice: ToolChoice | None = None,
8585
tool_responses: list[Part] | None = None,
8686
config: GenerationCommonConfig | dict[str, Any] | None = None,
8787
max_turns: int | None = None,

0 commit comments

Comments
 (0)