From f53323d3f357169b7ceac7150bb1c46d4bc37202 Mon Sep 17 00:00:00 2001 From: ghdcksgml1 Date: Fri, 6 Jun 2025 01:28:31 +0900 Subject: [PATCH] add: fileObject purpose type --- src/resources/files.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/resources/files.ts b/src/resources/files.ts index e0b66b77a..9a3e8dfee 100644 --- a/src/resources/files.ts +++ b/src/resources/files.ts @@ -145,7 +145,7 @@ export interface FileObject { /** * The intended purpose of the file. Supported values are `assistants`, * `assistants_output`, `batch`, `batch_output`, `fine-tune`, `fine-tune-results` - * and `vision`. + * , `vision` and `user_data`. */ purpose: | 'assistants' @@ -154,7 +154,8 @@ export interface FileObject { | 'batch_output' | 'fine-tune' | 'fine-tune-results' - | 'vision'; + | 'vision' + | 'user_data'; /** * @deprecated Deprecated. The current status of the file, which can be either