Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6a8b806

Browse files
authoredDec 23, 2023
chore(src): fix typos (#988)
1 parent c71ff7a commit 6a8b806

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

‎src/openai/resources/beta/assistants/assistants.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def update(
172172
file_ids: A list of [File](https://platform.openai.com/docs/api-reference/files) IDs
173173
attached to this assistant. There can be a maximum of 20 files attached to the
174174
assistant. Files are ordered by their creation date in ascending order. If a
175-
file was previosuly attached to the list but does not show up in the list, it
175+
file was previously attached to the list but does not show up in the list, it
176176
will be deleted from the assistant.
177177
178178
instructions: The system instructions that the assistant uses. The maximum length is 32768
@@ -465,7 +465,7 @@ async def update(
465465
file_ids: A list of [File](https://platform.openai.com/docs/api-reference/files) IDs
466466
attached to this assistant. There can be a maximum of 20 files attached to the
467467
assistant. Files are ordered by their creation date in ascending order. If a
468-
file was previosuly attached to the list but does not show up in the list, it
468+
file was previously attached to the list but does not show up in the list, it
469469
will be deleted from the assistant.
470470
471471
instructions: The system instructions that the assistant uses. The maximum length is 32768

‎src/openai/types/beta/assistant_update_params.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class AssistantUpdateParams(TypedDict, total=False):
2525
A list of [File](https://platform.openai.com/docs/api-reference/files) IDs
2626
attached to this assistant. There can be a maximum of 20 files attached to the
2727
assistant. Files are ordered by their creation date in ascending order. If a
28-
file was previosuly attached to the list but does not show up in the list, it
28+
file was previously attached to the list but does not show up in the list, it
2929
will be deleted from the assistant.
3030
"""
3131

‎src/openai/types/moderation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Categories(BaseModel):
2525
Content that expresses, incites, or promotes hate based on race, gender,
2626
ethnicity, religion, nationality, sexual orientation, disability status, or
2727
caste. Hateful content aimed at non-protected groups (e.g., chess players) is
28-
harrassment.
28+
harassment.
2929
"""
3030

3131
hate_threatening: bool = FieldInfo(alias="hate/threatening")

0 commit comments

Comments
 (0)
Please sign in to comment.