Skip to content

Commit 1d20846

Browse files
committed
fix: correct comment to reference ChatCompletions Converter
The comment incorrectly stated 'Responses Converter' when the actual converter used is 'chatcmpl_converter.Converter' which returns ChatCompletions format. Generated with Lucas Wang<[email protected]>
1 parent fca3ed5 commit 1d20846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agents/extensions/models/litellm_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ 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 Responses Converter, or omit
372+
# tool_choice can be a Literal, ToolChoiceFunction, dict from ChatCompletions Converter, or omit
373373
response_tool_choice: Literal["auto", "required", "none"] | ToolChoiceFunction
374374
if tool_choice is omit:
375375
response_tool_choice = "auto"

0 commit comments

Comments
 (0)