Skip to content

Commit

Permalink
feat(api): add uploads endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Jul 22, 2024
1 parent a5a855e commit 9963139
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 20
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-518ca6c60061d3e8bc0971facf40d752f2aea62e3522cc168ad29a1f29cab3dd.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-77cfff37114bc9f141c7e6107eb5f1b38d8cc99bc3d4ce03a066db2b6b649c69.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ constructor(
* - If set to 'auto', the system will utilize scale tier credits until they are exhausted.
* - If set to 'default', the request will be processed using the default service tier with
* a lower uptime SLA and no latency guarentee.
* - When not set, the default behavior is 'auto'.
*
* When this parameter is set, the response body will include the `service_tier` utilized.
*/
Expand Down Expand Up @@ -649,6 +650,7 @@ constructor(
* exhausted.
* - If set to 'default', the request will be processed using the default service tier
* with a lower uptime SLA and no latency guarentee.
* - When not set, the default behavior is 'auto'.
*
* When this parameter is set, the response body will include the `service_tier`
* utilized.
Expand Down Expand Up @@ -1112,6 +1114,7 @@ constructor(
* - If set to 'auto', the system will utilize scale tier credits until they are exhausted.
* - If set to 'default', the request will be processed using the default service tier with
* a lower uptime SLA and no latency guarentee.
* - When not set, the default behavior is 'auto'.
*
* When this parameter is set, the response body will include the `service_tier` utilized.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private constructor(
/**
* An array of content parts with a defined type, each can be of type `text` or `image_url`
* when passing in images. You can pass multiple images by adding multiple `image_url`
* content parts. Image input is only supported when using the `gpt-4-visual-preview` model.
* content parts. Image input is only supported when using the `gpt-4o` model.
*/
fun chatCompletionContentParts(): Optional<List<ChatCompletionContentPart>> =
Optional.ofNullable(chatCompletionContentParts)
Expand Down

0 comments on commit 9963139

Please sign in to comment.