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"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
You can use any Perplexity model name. The system no longer validates specific model names, allowing you to use new models as soon as they become available.
Popular models include:
sonar(default),sonar-pro(main series)llama-3.1-sonar-small-128k-online,llama-3.1-sonar-large-128k-online(online models)llama-3.1-sonar-huge-128k-online(advanced models)
For the most up-to-date list of available models, please check Perplexity Documentation.
aicommit2 config set PERPLEXITY.model="sonar"