From 5943d5346c8afc3ac6c5d73d5807ddf860be06c9 Mon Sep 17 00:00:00 2001 From: Jeffrey Bulanadi Date: Tue, 12 Aug 2025 22:18:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=91=20docs:=20Fix=20Typos=20in=20JSDoc?= =?UTF-8?q?=20and=20Doc=20Files=20(#8998)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix grammar in translations README: 'if has not been ran' 'if it has not been run' - Fix spacing in JSDoc comments: 'at theend' 'at the end' (2 instances) --- api/server/services/Runs/handle.js | 2 +- api/typedefs.js | 2 +- config/translations/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/server/services/Runs/handle.js b/api/server/services/Runs/handle.js index e49f46a69..abe933f92 100644 --- a/api/server/services/Runs/handle.js +++ b/api/server/services/Runs/handle.js @@ -33,7 +33,7 @@ async function withTimeout(promise, timeoutMs, timeoutMessage) { * @param {string} [params.body.model] - Optional. The ID of the model to be used for this run. * @param {string} [params.body.instructions] - Optional. Override the default system message of the assistant. * @param {string} [params.body.additional_instructions] - Optional. Appends additional instructions - * at theend of the instructions for the run. This is useful for modifying + * at the end of the instructions for the run. This is useful for modifying * the behavior on a per-run basis without overriding other instructions. * @param {Object[]} [params.body.tools] - Optional. Override the tools the assistant can use for this run. * @param {string[]} [params.body.file_ids] - Optional. diff --git a/api/typedefs.js b/api/typedefs.js index 3ad736624..5205503fc 100644 --- a/api/typedefs.js +++ b/api/typedefs.js @@ -1370,7 +1370,7 @@ * @property {string} [model] - The model that the assistant used for this run. * @property {string} [instructions] - The instructions that the assistant used for this run. * @property {string} [additional_instructions] - Optional. Appends additional instructions - * at theend of the instructions for the run. This is useful for modifying + * at the end of the instructions for the run. This is useful for modifying * @property {Tool[]} [tools] - The list of tools used for this run. * @property {string[]} [file_ids] - The list of File IDs used for this run. * @property {Object} [metadata] - Metadata associated with this run. diff --git a/config/translations/README.md b/config/translations/README.md index e411aff79..248e4e4c3 100644 --- a/config/translations/README.md +++ b/config/translations/README.md @@ -7,7 +7,7 @@ ### ⚠️ Warning: -This script can be expensive, several dollars worth, even with prompt caching. It can also be slow if has not been ran in a while, with translations contributed. +This script can be expensive, several dollars worth, even with prompt caching. It can also be slow if it has not been run in a while, with translations contributed. ### Instructions: