Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.35.1"
".": "0.36.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.36.0 (2026-05-30)

Full Changelog: [v0.35.1...v0.36.0](https://github.com/perplexityai/perplexity-py/compare/v0.35.1...v0.36.0)

### Features

* **responses:** add sandbox built-in tool ([9306b5e](https://github.com/perplexityai/perplexity-py/commit/9306b5eeee047ccce4f63b00a5d858e0dede0772))

## 0.35.1 (2026-05-27)

Full Changelog: [v0.35.0...v0.35.1](https://github.com/perplexityai/perplexity-py/compare/v0.35.0...v0.35.1)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "perplexityai"
version = "0.35.1"
version = "0.36.0"
description = "The official Python library for the perplexity API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/perplexity/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "perplexity"
__version__ = "0.35.1" # x-release-please-version
__version__ = "0.36.0" # x-release-please-version
12 changes: 11 additions & 1 deletion src/perplexity/types/response_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"ToolFetchURLTool",
"ToolPeopleSearchTool",
"ToolFinanceSearchTool",
"ToolSandboxTool",
"ResponseCreateParamsNonStreaming",
"ResponseCreateParamsStreaming",
]
Expand Down Expand Up @@ -156,8 +157,17 @@ class ToolFinanceSearchTool(TypedDict, total=False):
"""


class ToolSandboxTool(TypedDict, total=False):
type: Required[Literal["sandbox"]]
"""Enables the `sandbox` tool.

The model can execute code in an isolated container during the request and use
the result in its final answer.
"""


Tool: TypeAlias = Union[
ToolWebSearchTool, ToolFetchURLTool, ToolPeopleSearchTool, FunctionToolParam, ToolFinanceSearchTool
ToolWebSearchTool, ToolFetchURLTool, ToolPeopleSearchTool, FunctionToolParam, ToolFinanceSearchTool, ToolSandboxTool
]


Expand Down