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.
This commit is contained in:
parent
ad80f788b9
commit
64383502dd
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class AgentOutputSchemaBase(abc.ABC):
|
|||
@abc.abstractmethod
|
||||
def is_strict_json_schema(self) -> bool:
|
||||
"""Whether the JSON schema is in strict mode. Strict mode constrains the JSON schema
|
||||
features, but guarantees valis JSON. See here for details:
|
||||
features, but guarantees valid JSON. See here for details:
|
||||
https://platform.openai.com/docs/guides/structured-outputs#supported-schemas
|
||||
"""
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue