Skip to content

Commit 16f0f58

Browse files
authored
Fix #1494 by adding a link to Responses API documentation (#1502)
This pull request resolves #1494
1 parent d36beae commit 16f0f58

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/agents/model_settings.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ class ModelSettings:
9292
"""
9393

9494
truncation: Literal["auto", "disabled"] | None = None
95-
"""The truncation strategy to use when calling the model."""
95+
"""The truncation strategy to use when calling the model.
96+
See [Responses API documentation](https://platform.openai.com/docs/api-reference/responses/create#responses_create-truncation)
97+
for more details.
98+
"""
9699

97100
max_tokens: int | None = None
98101
"""The maximum number of output tokens to generate."""

0 commit comments

Comments
 (0)