Skip to content

Commit c0f09ec

Browse files
authored
Merge pull request #12 from perplexityai/release-please--branches--main--changes--next--components--perplexity_ai
2 parents c77312b + 8f030ff commit c0f09ec

File tree

13 files changed

+26
-93
lines changed

13 files changed

+26
-93
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.13.0"
2+
".": "0.14.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-335f0ceddae39ba77e5abf8b2b72691a43174b25c2ec897cd7779db8d1524820.yml
3-
openapi_spec_hash: e34fc7a3c97b61c7aded4df4774f298e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/perplexity-ai%2Fperplexity-5d4ba4296d72d87995a2189a991e710a77b4b73cc275ad03d8a0eec245cf55db.yml
3+
openapi_spec_hash: 5d29546ef1490dda18cda8ca97cd665e
44
config_hash: 4e2c5b7ad4caa07a2ac1af091ecf6c9c

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.14.0 (2025-10-30)
4+
5+
Full Changelog: [v0.13.0...v0.14.0](https://github.com/perplexityai/perplexity-node/compare/v0.13.0...v0.14.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([fffc9eb](https://github.com/perplexityai/perplexity-node/commit/fffc9eb2cfd6db13056bfaa90fd83ab4633e360a))
10+
311
## 0.13.0 (2025-10-29)
412

513
Full Changelog: [v0.12.0...v0.13.0](https://github.com/perplexityai/perplexity-node/compare/v0.12.0...v0.13.0)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@perplexity-ai/perplexity_ai",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"description": "The official TypeScript library for the Perplexity API",
55
"author": "Perplexity <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@perplexity-ai/mcp-server",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"description": "The official MCP Server for the Perplexity API",
55
"author": "Perplexity <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const newMcpServer = () =>
3232
new McpServer(
3333
{
3434
name: 'perplexity_ai_perplexity_ai_api',
35-
version: '0.13.0',
35+
version: '0.14.0',
3636
},
3737
{ capabilities: { tools: {}, logging: {} } },
3838
);

packages/mcp-server/src/tools/chat/completions/create-chat-completions.ts

Lines changed: 5 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,6 @@ export const tool: Tool = {
6565
type: 'boolean',
6666
title: 'Cum Logprobs',
6767
},
68-
debug_params: {
69-
type: 'object',
70-
title: 'DebugParams',
71-
properties: {
72-
summarizer_model_override: {
73-
type: 'string',
74-
title: 'Summarizer Model Override',
75-
},
76-
summarizer_prompt_override: {
77-
type: 'string',
78-
title: 'Summarizer Prompt Override',
79-
},
80-
},
81-
},
8268
disable_search: {
8369
type: 'boolean',
8470
title: 'Disable Search',
@@ -535,20 +521,6 @@ export const tool: Tool = {
535521
type: 'boolean',
536522
title: 'Cum Logprobs',
537523
},
538-
debug_params: {
539-
type: 'object',
540-
title: 'DebugParams',
541-
properties: {
542-
summarizer_model_override: {
543-
type: 'string',
544-
title: 'Summarizer Model Override',
545-
},
546-
summarizer_prompt_override: {
547-
type: 'string',
548-
title: 'Summarizer Prompt Override',
549-
},
550-
},
551-
},
552524
disable_search: {
553525
type: 'boolean',
554526
title: 'Disable Search',
@@ -1145,19 +1117,6 @@ export const tool: Tool = {
11451117
type: 'string',
11461118
title: 'Thought',
11471119
},
1148-
type: {
1149-
type: 'string',
1150-
title: 'Type',
1151-
enum: [
1152-
'web_search',
1153-
'fetch_url_content',
1154-
'execute_python',
1155-
'agent_progress',
1156-
'browser_agent',
1157-
'browser_tool_execution',
1158-
'file_attachment_search',
1159-
],
1160-
},
11611120
agent_progress: {
11621121
type: 'object',
11631122
title: 'AgentProgressStepDetails',
@@ -1253,6 +1212,10 @@ export const tool: Tool = {
12531212
},
12541213
required: ['attachment_urls'],
12551214
},
1215+
type: {
1216+
type: 'string',
1217+
title: 'Type',
1218+
},
12561219
web_search: {
12571220
type: 'object',
12581221
title: 'WebSearchStepDetails',
@@ -1276,7 +1239,7 @@ export const tool: Tool = {
12761239
required: ['search_keywords', 'search_results'],
12771240
},
12781241
},
1279-
required: ['thought', 'type'],
1242+
required: ['thought'],
12801243
},
12811244
},
12821245
tool_calls: {

src/resources/async/chat/completions.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ export namespace CompletionCreateParams {
159159

160160
cum_logprobs?: boolean | null;
161161

162-
debug_params?: Request.DebugParams | null;
163-
164162
disable_search?: boolean | null;
165163

166164
diverse_first_token?: boolean | null;
@@ -263,12 +261,6 @@ export namespace CompletionCreateParams {
263261
}
264262

265263
export namespace Request {
266-
export interface DebugParams {
267-
summarizer_model_override?: string | null;
268-
269-
summarizer_prompt_override?: string | null;
270-
}
271-
272264
export interface ResponseFormatText {
273265
type: 'text';
274266
}

src/resources/chat/completions.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ export interface CompletionCreateParamsBase {
5252

5353
cum_logprobs?: boolean | null;
5454

55-
debug_params?: CompletionCreateParams.DebugParams | null;
56-
5755
disable_search?: boolean | null;
5856

5957
diverse_first_token?: boolean | null;
@@ -156,12 +154,6 @@ export interface CompletionCreateParamsBase {
156154
}
157155

158156
export namespace CompletionCreateParams {
159-
export interface DebugParams {
160-
summarizer_model_override?: string | null;
161-
162-
summarizer_prompt_override?: string | null;
163-
}
164-
165157
export interface ResponseFormatText {
166158
type: 'text';
167159
}

src/resources/shared.ts

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,6 @@ export namespace ChatMessageInput {
102102
export interface ReasoningStep {
103103
thought: string;
104104

105-
type:
106-
| 'web_search'
107-
| 'fetch_url_content'
108-
| 'execute_python'
109-
| 'agent_progress'
110-
| 'browser_agent'
111-
| 'browser_tool_execution'
112-
| 'file_attachment_search';
113-
114105
/**
115106
* Agent progress class for live-browsing updates
116107
*/
@@ -141,6 +132,8 @@ export namespace ChatMessageInput {
141132
*/
142133
file_attachment_search?: ReasoningStep.FileAttachmentSearch | null;
143134

135+
type?: string | null;
136+
144137
/**
145138
* Web search step details wrapper class
146139
*/
@@ -311,15 +304,6 @@ export namespace ChatMessageOutput {
311304
export interface ReasoningStep {
312305
thought: string;
313306

314-
type:
315-
| 'web_search'
316-
| 'fetch_url_content'
317-
| 'execute_python'
318-
| 'agent_progress'
319-
| 'browser_agent'
320-
| 'browser_tool_execution'
321-
| 'file_attachment_search';
322-
323307
/**
324308
* Agent progress class for live-browsing updates
325309
*/
@@ -350,6 +334,8 @@ export namespace ChatMessageOutput {
350334
*/
351335
file_attachment_search?: ReasoningStep.FileAttachmentSearch | null;
352336

337+
type?: string | null;
338+
353339
/**
354340
* Web search step details wrapper class
355341
*/

0 commit comments

Comments
 (0)