Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 4.16.1 #436

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(api): retreival -> retrieval (#437)
stainless-bot authored Nov 6, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b4bd3eefdd3903abcc57c431382cc2124d39307b
16 changes: 8 additions & 8 deletions src/resources/beta/assistants/assistants.ts
Original file line number Diff line number Diff line change
@@ -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<Assistant.CodeInterpreter | Assistant.Retreival | Assistant.Function>;
tools: Array<Assistant.CodeInterpreter | Assistant.Retrieval | Assistant.Function>;
}

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 {
8 changes: 4 additions & 4 deletions src/resources/beta/threads/runs/runs.ts
Original file line number Diff line number Diff line change
@@ -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 {
4 changes: 2 additions & 2 deletions src/resources/beta/threads/threads.ts
Original file line number Diff line number Diff line change
@@ -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 {