Skip to content

Commit 6438350

Browse files
authored
docs: fix typo in docstring for is_strict_json_schema method (#775)
### Overview This PR fixes a small typo in the docstring of the `is_strict_json_schema` abstract method of the `AgentOutputSchemaBase` class in `agent_output.py`. ### Changes - Corrected the word “valis” to “valid” in the docstring. ### Motivation Clear and correct documentation improves code readability and reduces confusion for users and contributors. ### Checklist - [x] I have reviewed the docstring after making the change. - [x] No functionality is affected. - [x] The change follows the repository’s contribution guidelines.
1 parent ad80f78 commit 6438350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agents/agent_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def json_schema(self) -> dict[str, Any]:
3838
@abc.abstractmethod
3939
def is_strict_json_schema(self) -> bool:
4040
"""Whether the JSON schema is in strict mode. Strict mode constrains the JSON schema
41-
features, but guarantees valis JSON. See here for details:
41+
features, but guarantees valid JSON. See here for details:
4242
https://platform.openai.com/docs/guides/structured-outputs#supported-schemas
4343
"""
4444
pass

0 commit comments

Comments
 (0)