ned
|
37f279e73b
|
added translate and image-search plugins
|
2023-06-22 21:13:15 +02:00 |
|
ned
|
c1bfda47b5
|
improvements and added initial spotify plugin
|
2023-06-19 19:53:34 +02:00 |
|
ned
|
d86cd38527
|
update utils.py
|
2023-06-18 00:45:19 +02:00 |
|
ned
|
cf418a2fc5
|
update README.md
|
2023-06-18 00:41:00 +02:00 |
|
ned
|
96fb76ef44
|
auto retry while rate limited using tenacity
|
2023-06-14 12:35:23 +02:00 |
|
ned
|
fdd76ee845
|
Fixes #336
|
2023-06-14 10:42:10 +02:00 |
|
ned
|
075df1e75a
|
move utils funcs to standalone file
|
2023-05-06 12:30:55 +02:00 |
|
stanislavlysenko0912
|
b37946c85f
|
feat(telegram_bot.py): add support for quoting replied messages in group chats
This allows users to quote a message when replying to it in a group chat, making the conversation context clearer.
|
2023-05-05 15:06:39 +03:00 |
|
ned
|
c83dc8f64c
|
minor improvements
|
2023-04-22 13:08:17 +02:00 |
|
Ivan Milov
|
9b8210fdf2
|
Simplify telegram_config setter
|
2023-04-21 13:44:04 +02:00 |
|
Ivan Milov
|
a919cbb71e
|
Set voice starters to make prompt out of the transcript
|
2023-04-21 13:21:30 +02:00 |
|
ned
|
10f47d6921
|
use reply_text and get_thread_id
|
2023-04-18 19:16:01 +02:00 |
|
ned
|
64dd658269
|
Merge branch 'main' into feature/topic-support
|
2023-04-18 18:45:13 +02:00 |
|
ned
|
36dd6dc417
|
fix exception when bot is added to a channel
|
2023-04-16 11:16:49 +02:00 |
|
ned
|
c0b57ba92e
|
relax cutoff values and only consider first 4096 chars
|
2023-04-15 23:57:39 +02:00 |
|
bugfloyd
|
edc1e0c9a4
|
Add streaming support for inline-query responses
|
2023-04-15 20:55:40 +02:00 |
|
ned
|
69e6f0c663
|
fix wrong is_admin parameter
|
2023-04-15 17:57:24 +02:00 |
|
ned
|
595add64b2
|
experimental support for telegram topics
should fix #192
|
2023-04-15 17:55:19 +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
|
38c24e9d58
|
inline queries: fix duplicated messages in group chats and added translations
|
2023-04-15 12:55:03 +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 |
|
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
|
47babe8529
|
improved consistency in text localizations
|
2023-04-13 18:03:42 +02:00 |
|
AlexHTW
|
acf500e92d
|
added translations for messages from openai_helper
|
2023-04-13 16:11:21 +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 |
|
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 |
|
ned
|
35865021ea
|
Merge pull request #178 from AlexHTW/add-budget-types
Add budget periods and improvements
|
2023-04-10 17:13:02 +02:00 |
|
ned
|
9c75bb6e32
|
Merge pull request #189 from n3d1117/feature/group-chat-command
Added `chat` commands to initiate chat in groups
|
2023-04-06 17:46:13 +02:00 |
|
ned
|
3592fa0a9d
|
added chat commands to initiate chat in groups
|
2023-04-06 16:24:56 +02:00 |
|
Joker_
|
901a1ed99a
|
Ignore empty value when validating user IDs
|
2023-04-06 15:11:17 +02:00 |
|
ned
|
8de8b1037c
|
Use a unique id for inline queries (fix #181)
|
2023-04-06 15:10:03 +02:00 |
|
Joker_
|
9c4c2e7c82
|
Ignore empty value when validating user IDs
|
2023-04-06 12:36:03 +08:00 |
|
AlexHTW
|
42a1e7120a
|
linked budget manual in README
|
2023-04-05 15:40:55 +02:00 |
|
AlexHTW
|
373f6ba872
|
refactored budget_type to budget_period
added descriptions to README
|
2023-04-04 16:40:41 +02:00 |
|
ned
|
7881921345
|
Use a unique id for inline queries (fix #181)
|
2023-04-04 15:24:53 +02:00 |
|
AlexHTW
|
4fcf0e05d5
|
improved naming of budget
|
2023-04-04 02:45:27 +02:00 |
|
AlexHTW
|
0f24f66783
|
added budget type handling to stats
improved readibility of transcribe_durations
removed duplicate "no admin defined" logging
|
2023-04-04 01:18:13 +02:00 |
|
AlexHTW
|
5609c62de2
|
refactored budget checking to support budget types
improved logic and redundancies
|
2023-04-04 01:15:32 +02:00 |
|
Alexander Hinzer
|
af7e35bb69
|
improved get_current_cost()
|
2023-04-04 01:13:05 +02:00 |
|
ned
|
ae9243a6c4
|
add option to disable quoting in private chats
|
2023-04-03 19:50:08 +02:00 |
|
ned
|
fb17a5d86e
|
remove failing credit_grants API call (fix #163)
|
2023-04-02 11:05:47 +02:00 |
|
ned
|
7cba39d1f9
|
allow disabling image generation and transcriptions (#129)
|
2023-04-01 10:45:52 +02:00 |
|
ned
|
5062280140
|
made group trigger keyword case insensitive
fix #140
|
2023-04-01 10:19:08 +02:00 |
|