Skip to content
Discussion options

You must be logged in to vote

Hi @youvnor

You are confusing the endpoints config with the fileConfig object structure.

They are slightly different in schema, but serve very different purposes. You do not define custom endpoints under fileConfig.

Here's a working YAML file using both, note the distinctions. fileConfig is for setting file parameters (and note that it only supports defining blanket settings to custom instead of individual custom endpoints, i.e. Perplexity

endpoints:
  custom:
    - name: "Perplexity"
      apiKey: "${PERPLEXITY_API_KEY}"
      baseURL: "https://api.perplexity.ai/"
      models:
        default:
          - "sonar-reasoning-pro"
          - "sonar-reasoning"
          - "sonar-pro"

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by youvnor
Comment options

You must be logged in to vote
1 reply
@danny-avila
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #7796 on June 09, 2025 12:30.