豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 910ec5d

Browse files
feat(api): Add detail to InputFileContent
1 parent efb5530 commit 910ec5d

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 151
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-a6eca1bd01e0c434af356fe5275c206057216a4e626d1051d294c27016cd6d05.yml
3-
openapi_spec_hash: 68abda9122013a9ae3f084cfdbe8e8c1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-7c540cce6eb30401259f4831ea9803b6d88501605d13734f98212cbb3b199e10.yml
3+
openapi_spec_hash: 06e656be22bbb92689954253668b42fc
44
config_hash: 3e44aa7890aa780e431ab5b767200d3b

src/resources/responses/responses.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3423,6 +3423,13 @@ export interface ResponseInputFile {
34233423
*/
34243424
type: 'input_file';
34253425

3426+
/**
3427+
* The detail level of the file to be sent to the model. Use `low` for the default
3428+
* rendering behavior, or `high` to render the file at higher quality. Defaults to
3429+
* `low`.
3430+
*/
3431+
detail?: 'low' | 'high';
3432+
34263433
/**
34273434
* The content of the file to be sent to the model.
34283435
*/
@@ -3453,6 +3460,13 @@ export interface ResponseInputFileContent {
34533460
*/
34543461
type: 'input_file';
34553462

3463+
/**
3464+
* The detail level of the file to be sent to the model. Use `low` for the default
3465+
* rendering behavior, or `high` to render the file at higher quality. Defaults to
3466+
* `low`.
3467+
*/
3468+
detail?: 'low' | 'high';
3469+
34563470
/**
34573471
* The base64-encoded data of the file to be sent to the model.
34583472
*/

0 commit comments

Comments
 (0)