From 4a7aef9518cb9896a383725376e6f18569b9b82c Mon Sep 17 00:00:00 2001 From: Aniket Singh Yadav Date: Sat, 30 Aug 2025 09:38:26 +0530 Subject: [PATCH 1/3] Clarify index docstring for AnnotationFilePath and AnnotationFileCitation --- src/openai/types/responses/response_output_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openai/types/responses/response_output_text.py b/src/openai/types/responses/response_output_text.py index aa97b629f0..82498e5ee1 100644 --- a/src/openai/types/responses/response_output_text.py +++ b/src/openai/types/responses/response_output_text.py @@ -26,7 +26,7 @@ class AnnotationFileCitation(BaseModel): """The filename of the file cited.""" index: int - """The index of the file in the list of files.""" + """The index at which to insert the file path annotation in the message text (zero-based character index).""" type: Literal["file_citation"] """The type of the file citation. Always `file_citation`.""" From 87ca5d51080e69fa58b48f5208e9939c90fe8118 Mon Sep 17 00:00:00 2001 From: Aniket Singh Yadav Date: Sat, 30 Aug 2025 09:44:46 +0530 Subject: [PATCH 2/3] Clarify index docstring for AnnotationFilePath and AnnotationFileCitation --- src/openai/types/responses/response_output_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openai/types/responses/response_output_text.py b/src/openai/types/responses/response_output_text.py index 82498e5ee1..4cce4a9a43 100644 --- a/src/openai/types/responses/response_output_text.py +++ b/src/openai/types/responses/response_output_text.py @@ -74,7 +74,7 @@ class AnnotationFilePath(BaseModel): """The ID of the file.""" index: int - """The index of the file in the list of files.""" + """The index at which to insert the file path annotation in the message text (zero-based character index).""" type: Literal["file_path"] """The type of the file path. Always `file_path`.""" From ce5e78a53b58ddcf4b464cb0c257368b6e59971e Mon Sep 17 00:00:00 2001 From: Aniket Singh Yadav Date: Sat, 30 Aug 2025 09:52:46 +0530 Subject: [PATCH 3/3] Clarify index docstring for AnnotationFilePath and AnnotationFileCitation --- src/openai/types/responses/response_output_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openai/types/responses/response_output_text.py b/src/openai/types/responses/response_output_text.py index 4cce4a9a43..2a99afaadd 100644 --- a/src/openai/types/responses/response_output_text.py +++ b/src/openai/types/responses/response_output_text.py @@ -26,7 +26,7 @@ class AnnotationFileCitation(BaseModel): """The filename of the file cited.""" index: int - """The index at which to insert the file path annotation in the message text (zero-based character index).""" + """The index at which to insert the file citation in the message text (zero-based character index).""" type: Literal["file_citation"] """The type of the file citation. Always `file_citation`."""