File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ local defaults = {
40
40
endpoint = " https://api.perplexity.ai/chat/completions" ,
41
41
topic_prompt = topic_prompt ,
42
42
topic = {
43
- model = " llama-3.1- sonar-small-128k-online " ,
43
+ model = " sonar" ,
44
44
params = { max_tokens = 64 },
45
45
},
46
46
params = {
Original file line number Diff line number Diff line change 118
118
--- @return string[]
119
119
function Perplexity :get_available_models ()
120
120
return {
121
- " llama-3.1-sonar-small-128k-online" ,
122
- " llama-3.1-sonar-large-128k-online" ,
123
- " llama-3.1-sonar-huge-128k-online" ,
121
+ " llama-3.1-sonar-small-128k-online" , -- deprecated, will stop working after 2025-02-22
122
+ " llama-3.1-sonar-large-128k-online" , -- deprecated, will stop working after 2025-02-22
123
+ " llama-3.1-sonar-huge-128k-online" , -- deprecated, will stop working after 2025-02-22
124
+ " sonar" ,
125
+ " sonar-pro" ,
124
126
}
125
127
end
126
128
You can’t perform that action at this time.
0 commit comments