fix(perplexity-web): update API version and user-agent (#1666)

Integrated into release/v3.7.2
This commit is contained in:
Jack
2026-04-27 11:51:06 +01:00
committed by GitHub
parent 6747e22757
commit 6e0b801b6a

View File

@@ -9,7 +9,7 @@
import { BaseExecutor, type ExecuteInput } from "./base.ts";
const PPLX_SSE_ENDPOINT = "https://www.perplexity.ai/rest/sse/perplexity_ask";
const PPLX_API_VERSION = "2.18";
const PPLX_API_VERSION = "client-1.11.0";
const PPLX_USER_AGENT =
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36";