Skip to content

Commit a915b09

Browse files
authored
Merge pull request #1 from CuriousDima/feature/openai-default
Set GPT-4o as default model for everyone
2 parents e883e13 + 153c854 commit a915b09

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Pardon My English is designed to assist non-native English speakers by transform
99

1010
# Changelog
1111

12+
- \[2024-11-05\] GPT-4o is now the default and included in the config. All current users have been migrated to 4o too.
1213
- \[2024-09-15\] Llama 3.1 via Perplexity API is now a default mode for everyone!
1314
- \[2024-08-05\] We've updated Llama version to Llama 3.1 via Perplexity API.
1415
- \[2024-05-28\] We've added support for the Perplexity API, which now integrates with Llama3-70b-instruct. When selected, it adheres more closely to the initial instructions.

‎telegram-bot/db_client.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class Account(SQLModel, table=True):
1717
id: int | None = Field(default=None, primary_key=True)
1818
user_id: str = Field(index=True, sa_type=BigInteger) # Telegram user ID
1919
username: str | None
20-
provider: Provider = Field(default=Provider.PERPLEXITY)
21-
model: Model = Field(default=Model.LLAMA3_70B_INSTRUCT)
20+
provider: Provider = Field(default=Provider.OPENAI)
21+
model: Model = Field(default=Model.GPT4O)
2222
tokens_balance: int = Field(default=_NUM_TOKENS_DEFAULT)
2323
# Whether the user is a friend of the bot owner.
2424
# This is used to give the user an unlimited token balance.

0 commit comments

Comments
 (0)