api call updates

This commit is contained in:
Matt Harris 2026-01-26 18:53:27 -05:00
parent 77c59d53c8
commit c366fa6ece
2 changed files with 3 additions and 3 deletions

View File

@ -406,7 +406,7 @@ export async function fetchParallelContent(params: {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${params.apiKey}`,
"x-api-key": params.apiKey,
"parallel-beta": "search-extract-2025-10-10",
},
body: JSON.stringify({

View File

@ -376,7 +376,7 @@ async function runParallelSearch(params: {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${params.apiKey}`,
"x-api-key": params.apiKey,
"parallel-beta": "search-extract-2025-10-10",
},
body: JSON.stringify({
@ -384,7 +384,7 @@ async function runParallelSearch(params: {
search_queries: [params.query],
max_results: params.count,
excerpts: {
max_chars_per_result: 500,
max_chars_per_result: 2000,
},
mode: "agentic",
}),