Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6438350

Browse filesBrowse 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
Copy full SHA for 6438350

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/agents/agent_output.py

Copy file name to clipboardExpand all lines: src/agents/agent_output.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.