From b4bd3eefdd3903abcc57c431382cc2124d39307b Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Mon, 6 Nov 2023 21:54:54 +0000 Subject: [PATCH] fix(api): retreival -> retrieval (#437) --- src/resources/beta/assistants/assistants.ts | 16 ++++++++-------- src/resources/beta/threads/runs/runs.ts | 8 ++++---- src/resources/beta/threads/threads.ts | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/resources/beta/assistants/assistants.ts b/src/resources/beta/assistants/assistants.ts index 8a3d1c8b7..ec627bab4 100644 --- a/src/resources/beta/assistants/assistants.ts +++ b/src/resources/beta/assistants/assistants.ts @@ -144,7 +144,7 @@ export interface Assistant { * A list of tool enabled on the assistant. There can be a maximum of 128 tools per * assistant. Tools can be of types `code_interpreter`, `retrieval`, or `function`. */ - tools: Array; + tools: Array; } export namespace Assistant { @@ -155,11 +155,11 @@ export namespace Assistant { type: 'code_interpreter'; } - export interface Retreival { + export interface Retrieval { /** - * The type of tool being defined: `retreival` + * The type of tool being defined: `retrieval` */ - type: 'retreival'; + type: 'retrieval'; } export interface Function { @@ -276,9 +276,9 @@ export namespace AssistantCreateParams { export interface AssistantToolsRetrieval { /** - * The type of tool being defined: `retreival` + * The type of tool being defined: `retrieval` */ - type: 'retreival'; + type: 'retrieval'; } export interface AssistantToolsFunction { @@ -389,9 +389,9 @@ export namespace AssistantUpdateParams { export interface AssistantToolsRetrieval { /** - * The type of tool being defined: `retreival` + * The type of tool being defined: `retrieval` */ - type: 'retreival'; + type: 'retrieval'; } export interface AssistantToolsFunction { diff --git a/src/resources/beta/threads/runs/runs.ts b/src/resources/beta/threads/runs/runs.ts index ffbd287bf..7d92c66bd 100644 --- a/src/resources/beta/threads/runs/runs.ts +++ b/src/resources/beta/threads/runs/runs.ts @@ -318,9 +318,9 @@ export namespace Run { export interface AssistantToolsRetrieval { /** - * The type of tool being defined: `retreival` + * The type of tool being defined: `retrieval` */ - type: 'retreival'; + type: 'retrieval'; } export interface AssistantToolsFunction { @@ -418,9 +418,9 @@ export namespace RunCreateParams { export interface AssistantToolsRetrieval { /** - * The type of tool being defined: `retreival` + * The type of tool being defined: `retrieval` */ - type: 'retreival'; + type: 'retrieval'; } export interface AssistantToolsFunction { diff --git a/src/resources/beta/threads/threads.ts b/src/resources/beta/threads/threads.ts index 5bf84ee1f..ccc94fb65 100644 --- a/src/resources/beta/threads/threads.ts +++ b/src/resources/beta/threads/threads.ts @@ -264,9 +264,9 @@ export namespace ThreadCreateAndRunParams { export interface AssistantToolsRetrieval { /** - * The type of tool being defined: `retreival` + * The type of tool being defined: `retrieval` */ - type: 'retreival'; + type: 'retrieval'; } export interface AssistantToolsFunction {