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.34.0"
".": "0.35.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: 13
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai/perplexity-a48f6cfc0c2120ede5bd103b3c7fce20079d5a8baece7dad3ddaf98955309329.yml
openapi_spec_hash: 5f4746838a4a9455b5413bb3f1a01b84
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai/perplexity-f15eee99fec8579d1a543c4dfdc74f7633cc8e82004634be302f9c053cdc3934.yml
openapi_spec_hash: 5fe9895246acf0b07b2283b938a018fe
config_hash: 3f1487a29a16f85810ba4d77134da232
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.35.0 (2026-07-09)

Full Changelog: [v0.34.0...v0.35.0](https://github.com/perplexityai/perplexity-node/compare/v0.34.0...v0.35.0)

### Features

* **api:** manual updates ([3cab532](https://github.com/perplexityai/perplexity-node/commit/3cab5324e3deaafb5e61a07aa2fdb34ff46ff221))


### Chores

* trigger release-please ([de199f7](https://github.com/perplexityai/perplexity-node/commit/de199f7d80f28d0571df03806e1030ddf87f037d))

## 0.34.0 (2026-07-02)

Full Changelog: [v0.33.0...v0.34.0](https://github.com/perplexityai/perplexity-node/compare/v0.33.0...v0.34.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@perplexity-ai/perplexity_ai",
"version": "0.34.0",
"version": "0.35.0",
"description": "The official TypeScript library for the Perplexity API",
"author": "Perplexity <api@perplexity.ai>",
"types": "dist/index.d.ts",
Expand Down
30 changes: 30 additions & 0 deletions src/resources/responses/responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -898,13 +898,28 @@ export interface ResponsesCreateParams {
*/
preset?: string;

/**
* OpenAI-compatible previous response id for multi-turn response chains. When set,
* the new response continues from the completed prior response using its durable
* continuation snapshot. The prior response must belong to the same account and
* have completed.
*/
previous_response_id?: string;

reasoning?: ResponsesCreateParams.Reasoning;

/**
* Specifies the desired output format for the model response
*/
response_format?: Shared.ResponseFormat;

/**
* OpenAI-compatible storage toggle. When false, the response is hidden from later
* retrieve calls, and the echoed response reports `store: false`. It can still be
* used as a `previous_response_id` continuation source.
*/
store?: boolean;

/**
* If true, returns SSE stream instead of JSON
*/
Expand Down Expand Up @@ -1252,13 +1267,28 @@ export interface ResponseCreateParamsBase {
*/
preset?: string;

/**
* OpenAI-compatible previous response id for multi-turn response chains. When set,
* the new response continues from the completed prior response using its durable
* continuation snapshot. The prior response must belong to the same account and
* have completed.
*/
previous_response_id?: string;

reasoning?: ResponseCreateParams.Reasoning;

/**
* Specifies the desired output format for the model response
*/
response_format?: Shared.ResponseFormat;

/**
* OpenAI-compatible storage toggle. When false, the response is hidden from later
* retrieve calls, and the echoed response reports `store: false`. It can still be
* used as a `previous_response_id` continuation source.
*/
store?: boolean;

/**
* If true, returns SSE stream instead of JSON
*/
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.34.0'; // x-release-please-version
export const VERSION = '0.35.0'; // x-release-please-version
2 changes: 2 additions & 0 deletions tests/api-resources/responses/responses.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ describe('resource responses', () => {
model: 'model',
models: ['string'],
preset: 'preset',
previous_response_id: 'previous_response_id',
reasoning: { effort: 'minimal' },
response_format: {
type: 'json_schema',
Expand All @@ -42,6 +43,7 @@ describe('resource responses', () => {
strict: true,
},
},
store: true,
stream: false,
tools: [
{
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1215,9 +1215,9 @@ baseline-browser-mapping@^2.9.0:
integrity sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==

brace-expansion@^2.0.2:
version "2.1.1"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.1.tgz#c68b1c4111c76aae3a6fba55d496cee10c39dad8"
integrity sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA==
version "2.1.2"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.1.2.tgz#0bba2271feb7d458b0d31ad13625aaa4754431e2"
integrity sha512-w5JZcKgdhDOgOwm8H+KgbosopHMuGcl6qbulwjtz3SM7I7P3yW1eAjzMPLrIE+NQ9vjgANKHWeMHnrT0OXW1oA==
dependencies:
balanced-match "^1.0.0"

Expand Down