Skip to content

Commit 1870931

Browse files
committed
v0.7616 - perplexity api model update
1 parent 700339a commit 1870931

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ If you run into any issues, consult the logs or reach out on the repository's [I
240240
---
241241

242242
# Changelog
243+
- v0.7616 - Changed default Perplexity API model to `sonar` as per new model changes in the Perplexity API
243244
- v0.7615 - Parsing improvements
244245
- Improved text formatting & escaping in complex markdown vs. html cases
245246
- v0.7614 - Better stock market data fetching from Yahoo Finance

config/config.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Model = gpt-4o-mini
1919

2020
# Model temperature; OpenAI's default is 0.7
2121
# Higher temperature equals more creative (= less factual) output. much over 1.0 not recommended.
22-
Temperature = 1.0
22+
Temperature = 0.9
2323

2424
# Timeout on OpenAI API requests
2525
# (in seconds to wait for the reply)
@@ -203,7 +203,8 @@ ShowPastRemindersCount = 10
203203
# ~~~~~~~~~~~~~~~
204204
[Perplexity]
205205
# Model name to use with Perplexity API
206-
Model = llama-3.1-sonar-small-128k-online
206+
# Model = llama-3.1-sonar-small-128k-online
207+
Model = sonar
207208

208209
# Maximum tokens for Perplexity API response
209210
MaxTokens = 1024

src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# https://github.com/FlyingFathead/TelegramBot-OpenAI-API
77
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88
# version of this program
9-
version_number = "0.7615"
9+
version_number = "0.7616"
1010

1111
# Add the project root directory to Python's path
1212
import sys

0 commit comments

Comments
 (0)