Skip to content
Source
Sign inSign up
TanStack/schemas

Accept Perplexity xhigh Model bullets that say no fallback #700

Mergedtombeckenhammerged 1 commit intomain from699-perplexity-effort-page-s-xhigh-model-bullet-adds-no-fallbackmerged by tombeckenham View on GitHub

Showing 2 changed files with 64 additions and 3 deletions.

x
0 of 2 viewed, 2 left
58 additions and 0 deletionssrc/server/providers/adapters/perplexity.test.tsModified
View file
@@ -435,6 +435,59 @@
​
+ // Served since 2026-11-19: xhigh's Model bullet names one id and states
+ // there is no fallback. ultra still has no frozen configuration and names
+ // its runtime model only in that sentence. Trimmed to the bullets the
+ // parser reads, from https://docs.perplexity.ai/docs/agent-api/effort.md.
+ const NO_FALLBACK_DOC = [
+ '## Current effort level values',
+ '',
+ '> [accordion] fast — current effort level values',
+ '>',
+ '> * **Models:** `openai/gpt-6-luna`, with `openai/gpt-5.6-luna` as the [fallback model](https://docs.perplexity.ai/docs/agent-api/model-fallback.md)',
+ '> * **Reasoning effort:** `none`',
+ '> * **Tools:** `web_search`',
+ '',
+ '> [accordion] low — current effort level values',
+ '>',
+ '> * **Model:** `openai/gpt-6-luna`',
+ '> * **Reasoning effort:** `minimal`',
+ '> * **Tools:** `web_search`, `fetch_url` (`max_urls: 1`)',
+ '',
+ '> [accordion] medium — current effort level values',
+ '>',
+ '> * **Model:** `openai/gpt-6-luna`',