From 0d550facc9d88b5a836545df94f835aa27b99e03 Mon Sep 17 00:00:00 2001 From: autumnlight Date: Tue, 4 Mar 2025 08:05:24 +0100 Subject: [PATCH] Fix typescript issue for batch file upload --- docs/capabilities/batch.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/capabilities/batch.md b/docs/capabilities/batch.md index 95ff53f1..03b0a8e6 100644 --- a/docs/capabilities/batch.md +++ b/docs/capabilities/batch.md @@ -55,7 +55,8 @@ const batchData = await client.files.upload({ file: { fileName: "batch_input_file.jsonl", content: batchFile, - } + }, + purpose: "batch" }); ```