Commit 663e8960

stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
2025-10-22 06:33:48
fix(api): docs updates
1 parent f05eec9
Changed files (4)
src
openai
resources
types
shared
shared_params
src/openai/resources/files.py
@@ -71,20 +71,19 @@ class Files(SyncAPIResource):
         up to 512 MB, and the size of all files uploaded by one organization can be up
         to 1 TB.
 
-        The Assistants API supports files up to 2 million tokens and of specific file
-        types. See the
-        [Assistants Tools guide](https://platform.openai.com/docs/assistants/tools) for
-        details.
-
-        The Fine-tuning API only supports `.jsonl` files. The input also has certain
-        required formats for fine-tuning
-        [chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input) or
-        [completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
-        models.
-
-        The Batch API only supports `.jsonl` files up to 200 MB in size. The input also
-        has a specific required
-        [format](https://platform.openai.com/docs/api-reference/batch/request-input).
+        - The Assistants API supports files up to 2 million tokens and of specific file
+          types. See the
+          [Assistants Tools guide](https://platform.openai.com/docs/assistants/tools)
+          for details.
+        - The Fine-tuning API only supports `.jsonl` files. The input also has certain
+          required formats for fine-tuning
+          [chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input)
+          or
+          [completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
+          models.
+        - The Batch API only supports `.jsonl` files up to 200 MB in size. The input
+          also has a specific required
+          [format](https://platform.openai.com/docs/api-reference/batch/request-input).
 
         Please [contact us](https://help.openai.com/) if you need to increase these
         storage limits.
@@ -388,20 +387,19 @@ class AsyncFiles(AsyncAPIResource):
         up to 512 MB, and the size of all files uploaded by one organization can be up
         to 1 TB.
 
-        The Assistants API supports files up to 2 million tokens and of specific file
-        types. See the
-        [Assistants Tools guide](https://platform.openai.com/docs/assistants/tools) for
-        details.
-
-        The Fine-tuning API only supports `.jsonl` files. The input also has certain
-        required formats for fine-tuning
-        [chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input) or
-        [completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
-        models.
-
-        The Batch API only supports `.jsonl` files up to 200 MB in size. The input also
-        has a specific required
-        [format](https://platform.openai.com/docs/api-reference/batch/request-input).
+        - The Assistants API supports files up to 2 million tokens and of specific file
+          types. See the
+          [Assistants Tools guide](https://platform.openai.com/docs/assistants/tools)
+          for details.
+        - The Fine-tuning API only supports `.jsonl` files. The input also has certain
+          required formats for fine-tuning
+          [chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input)
+          or
+          [completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
+          models.
+        - The Batch API only supports `.jsonl` files up to 200 MB in size. The input
+          also has a specific required
+          [format](https://platform.openai.com/docs/api-reference/batch/request-input).
 
         Please [contact us](https://help.openai.com/) if you need to increase these
         storage limits.
src/openai/types/shared/reasoning.py
@@ -35,4 +35,6 @@ class Reasoning(BaseModel):
 
     This can be useful for debugging and understanding the model's reasoning
     process. One of `auto`, `concise`, or `detailed`.
+
+    `concise` is only supported for `computer-use-preview` models.
     """
src/openai/types/shared_params/reasoning.py
@@ -36,4 +36,6 @@ class Reasoning(TypedDict, total=False):
 
     This can be useful for debugging and understanding the model's reasoning
     process. One of `auto`, `concise`, or `detailed`.
+
+    `concise` is only supported for `computer-use-preview` models.
     """
.stats.yml
@@ -1,4 +1,4 @@
 configured_endpoints: 136
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-a4bb37d110a22c2888f53e21281434686a6fffa3e672a40f2503ad9bd2759063.yml
-openapi_spec_hash: 2d59eefb494dff4eea8c3d008c7e2070
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-a3c45d9bd3bb25bf4eaa49b7fb473a00038293dec659ffaa44f624ded884abf4.yml
+openapi_spec_hash: 9c20aaf786a0700dabd13d9865481c9e
 config_hash: 50ee3382a63c021a9f821a935950e926