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

tombeckenhamcommented

Summary

The Perplexity effort page now writes xhigh's model as `openai/gpt-6.2-sol` (no fallback model). parsePerplexityEffortLevels only accepted a bare backticked id, so the models poll threw perplexity: effort level names no model.

  • Accept that exact note as a stated "no fallback" on a Model: bullet.
  • Any other text after the id still throws.
  • ultra stays unbound: it still has no frozen configuration, and naming anthropic/claude-opus-5-5 in that sentence does not state settings to bind.

Fixes #699

Test plan

  • pnpm exec vitest run src/server/providers/adapters/perplexity.test.ts (63 passed)
    1. tombeckenham linked this to fix #699

    2. ⚠️ No Changeset found

      Latest commit: d4748ae145f3b4cb573af62b977a2662848cebd1

      Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

      This PR includes no changesets

      When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

      Click here to learn what changesets are, and how to add one.

      Click here if you're a maintainer who wants to add a changeset to this PR

    3. Warning

      Review limit reached

      You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

      Next included review available in 23 minutes.

      Check out review usage here.

      View limit details

      Limit details: You’ve used the included review currently available.

      Learn how review limits work.

      Review configuration:

      Run configuration

      • Source mode: Auto
      • Repository: Unavailable
      • Branch: Unavailable
      • File: No configuration file from this repository applied
      • Commit: Unavailable
      • Layers: defaults
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: 9f05c1b7-2a0b-473d-8ab8-aceb2e8bd7c4
      Commits

      Reviewing files that changed from the base of the PR and between b41a9ff3295e13c7b4bc4e62748a3694349ae5ae and d4748ae145f3b4cb573af62b977a2662848cebd1.

      Files selected for processing: 2

      • src/server/providers/adapters/perplexity.test.ts
      • src/server/providers/adapters/perplexity.ts
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      Share

    4. tombeckenham merged this2128425

    5. tombeckenham closed this

Sign in to join this conversation.