Skip to content

Commit d9aa6da

Browse files
authored
Refactor comment on tool_choice for clarity
Split long comment about tool_choice into multiple lines for better readability.
1 parent ae1ff2d commit d9aa6da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/agents/extensions/models/litellm_model.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ async def _fetch_response(
369369
return ret
370370

371371
# Convert tool_choice to the correct type for Response
372-
# tool_choice can be a Literal, ToolChoiceFunction, dict from ChatCompletions Converter, or omit
372+
# tool_choice can be a Literal, ToolChoiceFunction,
373+
# dict from ChatCompletions Converter, or omit
373374
response_tool_choice: Literal["auto", "required", "none"] | ToolChoiceFunction
374375
if tool_choice is omit:
375376
response_tool_choice = "auto"

0 commit comments

Comments
 (0)