Comparing version 4.49.0 to 4.49.1
{ | ||
"name": "openai", | ||
"version": "4.49.0", | ||
"version": "4.49.1", | ||
"description": "The official TypeScript library for the OpenAI API", | ||
@@ -5,0 +5,0 @@ "author": "OpenAI <support@openai.com>", |
@@ -22,3 +22,3 @@ # OpenAI Node API Library | ||
```ts | ||
import OpenAI from 'https://deno.land/x/openai@v4.49.0/mod.ts'; | ||
import OpenAI from 'https://deno.land/x/openai@v4.49.1/mod.ts'; | ||
``` | ||
@@ -25,0 +25,0 @@ |
@@ -341,4 +341,12 @@ import * as Core from "../../../core.js"; | ||
*/ | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | AssistantsAPI.FileSearchTool>; | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | Attachment.AssistantToolsFileSearchTypeOnly>; | ||
} | ||
namespace Attachment { | ||
interface AssistantToolsFileSearchTypeOnly { | ||
/** | ||
* The type of tool being defined: `file_search` | ||
*/ | ||
type: 'file_search'; | ||
} | ||
} | ||
/** | ||
@@ -491,4 +499,12 @@ * On an incomplete message, details about why the message is incomplete. | ||
*/ | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | AssistantsAPI.FileSearchTool>; | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | Attachment.FileSearch>; | ||
} | ||
namespace Attachment { | ||
interface FileSearch { | ||
/** | ||
* The type of tool being defined: `file_search` | ||
*/ | ||
type: 'file_search'; | ||
} | ||
} | ||
} | ||
@@ -495,0 +511,0 @@ export interface MessageUpdateParams { |
@@ -205,3 +205,3 @@ import * as Core from "../../../../core.js"; | ||
* Whether to enable | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling) | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling) | ||
* during tool use. | ||
@@ -432,3 +432,3 @@ */ | ||
* Whether to enable | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling) | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling) | ||
* during tool use. | ||
@@ -532,4 +532,12 @@ */ | ||
*/ | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | AssistantsAPI.FileSearchTool>; | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | Attachment.FileSearch>; | ||
} | ||
namespace Attachment { | ||
interface FileSearch { | ||
/** | ||
* The type of tool being defined: `file_search` | ||
*/ | ||
type: 'file_search'; | ||
} | ||
} | ||
} | ||
@@ -536,0 +544,0 @@ /** |
@@ -230,4 +230,12 @@ import * as Core from "../../../core.js"; | ||
*/ | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | AssistantsAPI.FileSearchTool>; | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | Attachment.FileSearch>; | ||
} | ||
namespace Attachment { | ||
interface FileSearch { | ||
/** | ||
* The type of tool being defined: `file_search` | ||
*/ | ||
type: 'file_search'; | ||
} | ||
} | ||
} | ||
@@ -419,3 +427,3 @@ /** | ||
* Whether to enable | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling) | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling) | ||
* during tool use. | ||
@@ -555,4 +563,12 @@ */ | ||
*/ | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | AssistantsAPI.FileSearchTool>; | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | Attachment.FileSearch>; | ||
} | ||
namespace Attachment { | ||
interface FileSearch { | ||
/** | ||
* The type of tool being defined: `file_search` | ||
*/ | ||
type: 'file_search'; | ||
} | ||
} | ||
} | ||
@@ -559,0 +575,0 @@ /** |
@@ -633,3 +633,3 @@ import * as Core from "../../core.js"; | ||
* Whether to enable | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling) | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling) | ||
* during tool use. | ||
@@ -636,0 +636,0 @@ */ |
@@ -462,5 +462,14 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
*/ | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | AssistantsAPI.FileSearchTool>; | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | Attachment.AssistantToolsFileSearchTypeOnly>; | ||
} | ||
export namespace Attachment { | ||
export interface AssistantToolsFileSearchTypeOnly { | ||
/** | ||
* The type of tool being defined: `file_search` | ||
*/ | ||
type: 'file_search'; | ||
} | ||
} | ||
/** | ||
@@ -641,4 +650,13 @@ * On an incomplete message, details about why the message is incomplete. | ||
*/ | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | AssistantsAPI.FileSearchTool>; | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | Attachment.FileSearch>; | ||
} | ||
export namespace Attachment { | ||
export interface FileSearch { | ||
/** | ||
* The type of tool being defined: `file_search` | ||
*/ | ||
type: 'file_search'; | ||
} | ||
} | ||
} | ||
@@ -645,0 +663,0 @@ |
@@ -407,3 +407,3 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
* Whether to enable | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling) | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling) | ||
* during tool use. | ||
@@ -698,3 +698,3 @@ */ | ||
* Whether to enable | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling) | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling) | ||
* during tool use. | ||
@@ -811,4 +811,13 @@ */ | ||
*/ | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | AssistantsAPI.FileSearchTool>; | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | Attachment.FileSearch>; | ||
} | ||
export namespace Attachment { | ||
export interface FileSearch { | ||
/** | ||
* The type of tool being defined: `file_search` | ||
*/ | ||
type: 'file_search'; | ||
} | ||
} | ||
} | ||
@@ -815,0 +824,0 @@ |
@@ -326,4 +326,13 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
*/ | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | AssistantsAPI.FileSearchTool>; | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | Attachment.FileSearch>; | ||
} | ||
export namespace Attachment { | ||
export interface FileSearch { | ||
/** | ||
* The type of tool being defined: `file_search` | ||
*/ | ||
type: 'file_search'; | ||
} | ||
} | ||
} | ||
@@ -566,3 +575,3 @@ | ||
* Whether to enable | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling) | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling) | ||
* during tool use. | ||
@@ -722,4 +731,13 @@ */ | ||
*/ | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | AssistantsAPI.FileSearchTool>; | ||
tools?: Array<AssistantsAPI.CodeInterpreterTool | Attachment.FileSearch>; | ||
} | ||
export namespace Attachment { | ||
export interface FileSearch { | ||
/** | ||
* The type of tool being defined: `file_search` | ||
*/ | ||
type: 'file_search'; | ||
} | ||
} | ||
} | ||
@@ -726,0 +744,0 @@ |
@@ -762,3 +762,3 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
* Whether to enable | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling) | ||
* [parallel function calling](https://platform.openai.com/docs/guides/function-calling/parallel-function-calling) | ||
* during tool use. | ||
@@ -765,0 +765,0 @@ */ |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '4.49.0'; // x-release-please-version | ||
export const VERSION = '4.49.1'; // x-release-please-version |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "4.49.0"; | ||
export declare const VERSION = "4.49.1"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '4.49.0'; // x-release-please-version | ||
exports.VERSION = '4.49.1'; // x-release-please-version | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2473267
42611