Spaces:
Running
Running
Commit
·
486516a
1
Parent(s):
ef8d960
Update Perplexity models
Browse files- lib/config.py +6 -14
lib/config.py
CHANGED
@@ -493,24 +493,16 @@ config = AppConfig(
|
|
493 |
url="https://api.perplexity.ai",
|
494 |
api_key=os.environ.get("PPLX_API_KEY"),
|
495 |
text={
|
496 |
-
"
|
497 |
-
"Sonar
|
498 |
**_pplx_text_kwargs,
|
499 |
),
|
500 |
-
"
|
501 |
-
"Sonar
|
502 |
**_pplx_text_kwargs,
|
503 |
),
|
504 |
-
"
|
505 |
-
"Sonar
|
506 |
-
**_pplx_text_kwargs,
|
507 |
-
),
|
508 |
-
"llama-3.1-sonar-large-128k-online": TextModelConfig(
|
509 |
-
"Sonar Large (Online)",
|
510 |
-
**_pplx_text_kwargs,
|
511 |
-
),
|
512 |
-
"llama-3.1-sonar-huge-128k-online": TextModelConfig(
|
513 |
-
"Sonar Huge (Online)",
|
514 |
**_pplx_text_kwargs,
|
515 |
),
|
516 |
},
|
|
|
493 |
url="https://api.perplexity.ai",
|
494 |
api_key=os.environ.get("PPLX_API_KEY"),
|
495 |
text={
|
496 |
+
"sonar-reasoning": TextModelConfig(
|
497 |
+
"Sonar Reasoning",
|
498 |
**_pplx_text_kwargs,
|
499 |
),
|
500 |
+
"sonar-pro": TextModelConfig(
|
501 |
+
"Sonar Pro",
|
502 |
**_pplx_text_kwargs,
|
503 |
),
|
504 |
+
"sonar": TextModelConfig(
|
505 |
+
"Sonar",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
506 |
**_pplx_text_kwargs,
|
507 |
),
|
508 |
},
|