Skip to content

Commit 07cefed

Browse files
committed
Revert "docs: enhance docstring for parallel_tool_calls attribute in ModelSettings"
This reverts commit 314cb82.
1 parent 314cb82 commit 07cefed

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/agents/model_settings.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,8 @@ class ModelSettings:
3636
"""The tool choice to use when calling the model."""
3737

3838
parallel_tool_calls: bool | None = None
39-
"""Controls whether the model can make multiple parallel tool calls in a single turn.
40-
41-
If not provided (i.e., set to None), this behavior defers to the underlying
42-
model provider's default. For most current providers (e.g., OpenAI), this typically
43-
means parallel tool calls are enabled (True).
44-
45-
Set to True to explicitly enable parallel tool calls, or False to restrict the
46-
model to at most one tool call per turn.
47-
"""
39+
"""Whether to use parallel tool calls when calling the model.
40+
Defaults to True if not provided."""
4841

4942
truncation: Literal["auto", "disabled"] | None = None
5043
"""The truncation strategy to use when calling the model."""

0 commit comments

Comments
 (0)