Before configuring, please review:
- Configuration Guide - How to configure providers
- General Settings - Common settings applicable to all providers
aicommit2 config set PERPLEXITY.key="your-api-key"
aicommit2 config set PERPLEXITY.model="sonar-pro"
aicommit2 config set PERPLEXITY.key="your-api-key" \
PERPLEXITY.model="sonar-pro" \
PERPLEXITY.temperature=0.7 \
PERPLEXITY.maxTokens=4000 \
PERPLEXITY.locale="en" \
PERPLEXITY.generate=3 \
PERPLEXITY.topP=0.9
Setting | Description | Default |
---|---|---|
key |
API key | - |
model |
Model to use | sonar |
The Perplexity API key. If you don't have one, please sign up and get the API key in Perplexity
Default: sonar
Supported:
sonar-pro
sonar
llama-3.1-sonar-small-128k-online
llama-3.1-sonar-large-128k-online
llama-3.1-sonar-huge-128k-online
The models mentioned above are subject to change.
aicommit2 config set PERPLEXITY.model="sonar-pro"