diff --git a/.release-please-manifest.json b/.release-please-manifest.json index df0c791..8e3d955 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.30.1" + ".": "0.31.0" } diff --git a/.stats.yml b/.stats.yml index d1807d0..93c6387 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 11 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai/perplexity-6f1190943034b93890a9c218eea0630d4b0de4018e3ca97a48fb467bdcf0c5a2.yml -openapi_spec_hash: 852b17614efb5895a656a42d5fa2f08a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai/perplexity-c9a4aa7e01c6335588f6d246f5bc498d70ab7164bb8b753c7e031086af55cc64.yml +openapi_spec_hash: 4018d7234b9acf008622b921908b6329 config_hash: 059988c88f0dc18e9e393daed94b5eb6 diff --git a/CHANGELOG.md b/CHANGELOG.md index 460d8fa..4885ca4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.31.0 (2026-05-30) + +Full Changelog: [v0.30.1...v0.31.0](https://github.com/perplexityai/perplexity-node/compare/v0.30.1...v0.31.0) + +### Features + +* **responses:** add sandbox built-in tool ([6b47293](https://github.com/perplexityai/perplexity-node/commit/6b4729307f2cd319119bba23ebca2bcbaee9cb62)) + ## 0.30.1 (2026-05-27) Full Changelog: [v0.30.0...v0.30.1](https://github.com/perplexityai/perplexity-node/compare/v0.30.0...v0.30.1) diff --git a/package.json b/package.json index fc22aaa..010cad6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@perplexity-ai/perplexity_ai", - "version": "0.30.1", + "version": "0.31.0", "description": "The official TypeScript library for the Perplexity API", "author": "Perplexity ", "types": "dist/index.d.ts", diff --git a/src/resources/responses.ts b/src/resources/responses.ts index eae32c0..2e8ffde 100644 --- a/src/resources/responses.ts +++ b/src/resources/responses.ts @@ -800,6 +800,7 @@ export interface ResponsesCreateParams { | ResponsesCreateParams.PeopleSearchTool | FunctionTool | ResponsesCreateParams.FinanceSearchTool + | ResponsesCreateParams.SandboxTool >; } @@ -896,6 +897,14 @@ export namespace ResponsesCreateParams { */ type: 'finance_search'; } + + export interface SandboxTool { + /** + * Enables the `sandbox` tool. The model can execute code in an isolated container + * during the request and use the result in its final answer. + */ + type: 'sandbox'; + } } export interface ResponsesUsage { @@ -1095,6 +1104,7 @@ export interface ResponseCreateParamsBase { | ResponseCreateParams.PeopleSearchTool | FunctionTool | ResponseCreateParams.FinanceSearchTool + | ResponseCreateParams.SandboxTool >; } @@ -1192,6 +1202,14 @@ export namespace ResponseCreateParams { type: 'finance_search'; } + export interface SandboxTool { + /** + * Enables the `sandbox` tool. The model can execute code in an isolated container + * during the request and use the result in its final answer. + */ + type: 'sandbox'; + } + export type ResponseCreateParamsNonStreaming = ResponsesAPI.ResponseCreateParamsNonStreaming; export type ResponseCreateParamsStreaming = ResponsesAPI.ResponseCreateParamsStreaming; } diff --git a/src/version.ts b/src/version.ts index 3a830f1..b6314c2 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.30.1'; // x-release-please-version +export const VERSION = '0.31.0'; // x-release-please-version