Commit Graph

351 Commits

Author SHA1 Message Date
ned
61ccd5df88 Merge branch 'main' into main 2023-04-16 09:41:41 +02:00
ned
1ac0b248c2 Merge pull request #235 from bugfloyd/feat/inline_queries_streaming
Add Streaming Support for Inline-Query Callback Responses
2023-04-16 09:39:04 +02:00
^Amin Aenurahman
a353073122 fix comma 2023-04-16 10:58:45 +07:00
^Amin Aenurahman
7ffc0d8497 add indonesian translation 2023-04-16 10:58:08 +07:00
ned
c0b57ba92e relax cutoff values and only consider first 4096 chars 2023-04-15 23:57:39 +02:00
ned
756a3fed4f Merge pull request #237 from jvican/main
Add Spanish translation
2023-04-15 23:10:40 +02:00
Jorge Vicente Cantero
1f371057e1 Update README with Spanish support 2023-04-15 14:09:29 -07:00
Jorge Vicente Cantero
d243a240c6 Add es translation 2023-04-15 13:20:10 -07:00
bugfloyd
edc1e0c9a4 Add streaming support for inline-query responses 2023-04-15 20:55:40 +02:00
ned
90f27e62f1 Update publish.yaml 2023-04-15 20:03:05 +02:00
ned
c1e14b9f14 Update README.md 2023-04-15 18:06:07 +02:00
ned
69e6f0c663 fix wrong is_admin parameter 2023-04-15 17:57:24 +02:00
ned
3036c25e63 Merge pull request #233 from bugfloyd/refactor/pep8_and_more
Apply PEP8 styling and improve code quality
2023-04-15 16:21:52 +02:00
bugfloyd
852946da46 Merge branch 'main' into refactor/pep8_and_more 2023-04-15 15:51:15 +02:00
bugfloyd
34b0916bcc Remove duplicated codes
define new method in ChatGPTTelegramBot:
  add_chat_request_to_usage_tracker
define new method add_current_costs in UsageTracker
2023-04-15 15:44:32 +02:00
bugfloyd
37a0f0ce5e Improve variable names & defs
Fix shadow names
Convert unused method parameters to private
Fix variable referenced before assignment
Improve parameter docs
2023-04-15 15:18:17 +02:00
bugfloyd
431aeecd95 Apply PEP8 styling standard & reformat 2023-04-15 14:47:30 +02:00
ned
1012f8ed6c Merge pull request #232 from AlexHTW/translations-update-ru-de
minor improvements in ru and de tranlsations
2023-04-15 14:46:44 +02:00
ned
a2361a0033 Merge pull request #231 from muhammed540/Turkish-language
tr language minor changes
2023-04-15 14:43:08 +02:00
AlexHTW
b6d8e00ad6 minor improvements in ru and de tranlsations 2023-04-15 14:42:05 +02:00
muhammed540
5a0da3fdf6 Update translations.json 2023-04-15 14:45:53 +03:00
ned
1752a2ade9 update README.md 2023-04-15 13:03:56 +02:00
ned
f1016aafce Merge pull request #230 from n3d1117/feature/inline-queries-translation-and-fixes
Inline queries: fix duplicated messages in group chats and added translations
2023-04-15 12:57:08 +02:00
ned
38c24e9d58 inline queries: fix duplicated messages in group chats and added translations 2023-04-15 12:55:03 +02:00
ned
ddd70ebebe Merge pull request #101 from bugfloyd/feat/working_inline_queries
Enhance Inline Query Functionality with Action Button and Improved Caching
2023-04-15 12:53:30 +02:00
“Yashar
f77743da0a Disable bot cache for inline queries 2023-04-15 05:16:14 +02:00
“Yashar
a7159e609d Merge main into feat/working_inline_queries
Handle disallowed_message & budget_limit_message for inline queries
2023-04-15 05:06:18 +02:00
“Yashar
5f1e70efd1 Merge branch 'main' into feat/working_inline_queries
# Conflicts:
#	bot/telegram_bot.py
2023-04-15 02:15:08 +02:00
ned
3dec03d72b Merge pull request #226 from muhammed540/Turkish-language
tr language minor changes
2023-04-14 13:25:21 +02:00
muhammed540
f6a7a2f0ca minor changes 2023-04-14 14:22:38 +03:00
ned
2976e92e08 Merge pull request #222 from n3d1117/translation/italian
🇮🇹 Added italian translation and minor translation fixes
2023-04-14 11:04:12 +02:00
ned
328db9d469 added italian translation 2023-04-14 10:44:32 +02:00
ned
04378b3845 fix translation when budget is all-time and minor fixes 2023-04-14 10:44:04 +02:00
ned
2ec69830d6 Merge pull request #214 from AlexHTW/multi-language-support
Multi language support
2023-04-14 10:05:51 +02:00
AlexHTW
56afe444fa added translations info to README 2023-04-14 00:28:35 +02:00
AlexHTW
1e0ddd75ec fixed punctuations in translations.json 2023-04-13 22:02:52 +02:00
AlexHTW
47babe8529 improved consistency in text localizations 2023-04-13 18:03:42 +02:00
AlexHTW
2011281bad small fix tukish translation #3 @muhammed540 2023-04-13 17:07:44 +02:00
AlexHTW
f7fd85035e small fix turkish translation @muhammed540 2023-04-13 16:47:10 +02:00
AlexHTW
810ad89534 improved some turkish translations @muhammed540 2023-04-13 16:39:47 +02:00
AlexHTW
acf500e92d added translations for messages from openai_helper 2023-04-13 16:11:21 +02:00
AlexHTW
4b650318ec added turkish translations, credit @muhammed540 2023-04-13 16:10:43 +02:00
ned
980aa15293 Merge pull request #216 from AlexHTW/fix-token-count-if-stream-false
Fix token counting if stream=false
2023-04-13 13:15:07 +02:00
AlexHTW
78113742cc updated README and .env.example 2023-04-13 02:22:03 +02:00
AlexHTW
df1d405b58 refactored language to bot_language
"language" seems to be reserved on some systems for
the actual system language
2023-04-13 02:14:11 +02:00
Alexander Hinzer
2598ac1f5c fixed refactored keys for german translations 2023-04-12 23:13:47 +02:00
AlexHTW
f045579a3f Added a warning log for the responsible exception 2023-04-12 10:53:19 +02:00
AlexHTW
cc47a18078 changed the scope of total_tokens if stream=false 2023-04-12 10:40:01 +02:00
AlexHTW
ab29487b8d added language setting to env.example and readme 2023-04-12 01:02:10 +02:00
AlexHTW
0130faaf27 added german and russian translations for bot msgs 2023-04-12 00:52:39 +02:00