Commit Graph

379 Commits

Author SHA1 Message Date
AlexHTW
6eb75ebc9f fixed rebase mistake that removed commit 8aeb0c2
This reverts commit 78a946b5fb.
2023-04-04 01:39:06 +02:00
AlexHTW
4862685441 removed monthly budget variables 2023-04-04 01:21:34 +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
AlexHTW
78a946b5fb updated config imports for new budget types
with support for old monthly budget naming
2023-04-04 01:15:32 +02:00
AlexHTW
2dfe731a18 added future import to support typing for 3.8 2023-04-04 01:13:05 +02:00
Alexander Hinzer
af7e35bb69 improved get_current_cost() 2023-04-04 01:13:05 +02:00
Alexander Hinzer
3066c60894 added calculation for total cost initialization 2023-04-04 01:13:05 +02:00
Alexander Hinzer
affa216970 add all_time cost to usage tracker 2023-04-04 01:13:05 +02:00
ned
490e6581e3 Merge pull request #177 from n3d1117/feature/added-option-to-disable-quoting
Added option to disable quoting in private chats
2023-04-03 19:52:43 +02:00
ned
ae9243a6c4 add option to disable quoting in private chats 2023-04-03 19:50:08 +02:00
ned
dbae807477 convert presence_penalty and frequency_penalty to float (fix #165) 2023-04-02 23:56:34 +02:00
ned
fb17a5d86e remove failing credit_grants API call (fix #163) 2023-04-02 11:05:47 +02:00
ned
e5f7449da7 Merge pull request #154 from n3d1117/feature/allow-disable-transcription-and-image-generation
Allow disabling image generation and transcriptions
2023-04-01 15:52:10 +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
ned
b47768b66f fix #151 for messages containing broken markdown 2023-03-31 12:50:04 +02:00
ned
bd149d9c4a minor improvements 2023-03-31 12:44:02 +02:00
ned
6f21a3fa24 Merge pull request #149 from AlexHTW/allow-group-usage-if-admin-member
Fix group usage permission
2023-03-31 12:32:36 +02:00
Alexander Hinzer
db0fcfce7b fixed is_user_in_group 2023-03-31 00:53:15 +02:00
Alexander Hinzer
3d79dcfb3d added check of admin list to group permission 2023-03-31 00:17:24 +02:00
ned
7740ae6d84 update README.md 2023-03-29 11:34:36 +02:00
ned
1d143cc1c7 update README.md 2023-03-29 10:58:24 +02:00
ned
60cf806c44 minor improvements 2023-03-29 10:47:48 +02:00
ned
fec6694bb7 Merge pull request #89 from VolunPotest/main
New resend command
2023-03-29 10:43:27 +02:00
ned
4ed59d2720 Merge pull request #134 from AlexHTW/add-user-id-to-log
add user id to all logs
2023-03-29 10:32:26 +02:00
ned
e110afd02f increase default max tokens for gpt-4 models 2023-03-29 10:18:10 +02:00
VolunPotest
0aaa7a46fb pop message from self.last_message 2023-03-28 22:02:53 +02:00
VolunPotest
01638d3756 Add resend command 2023-03-28 21:57:51 +02:00
Alexander Hinzer
bddf84e469 added user id to all logs 2023-03-28 21:23:17 +02:00
ned
e43103a838 update token counting function 2023-03-28 13:59:46 +02:00
ned
3e11492448 Merge pull request #126 from n3d1117/feature/continuous-typing-indicator
Initial support for continuous chat indicators
2023-03-28 13:00:33 +02:00
ned
77a500a1ff some refactoring 2023-03-28 12:59:19 +02:00
ned
bd4fe58551 initial support for continuous chat indicators 2023-03-28 10:44:34 +02:00
ned
8c70d96cc4 bump python-telegram-bot to 20.2 2023-03-27 22:55:21 +02:00
ned
f55ff46a6c handle exceptions with markdown 2023-03-27 17:22:05 +02:00
ned
f8f3c229c3 minor improvements 2023-03-27 17:14:50 +02:00
ned
bf6de710af Merge pull request #121 from JokerQyou/fix/replace-leftover
Trim all bot commands from message text
2023-03-27 17:13:27 +02:00
Joker
c7c836c12e Trim all bot commands from message text 2023-03-27 22:23:21 +08:00
ned
e4ea02ae23 minor improvements 2023-03-27 11:32:21 +02:00
ned
bc6a4e48f0 handle streaming responses over 4096 characters 2023-03-27 00:46:19 +02:00
ned
ff188ce1c2 lower stream latency and added some backoff 2023-03-26 15:58:11 +02:00
ned
463ffb4ded increase MAX_HISTORY_SIZE to 15 2023-03-26 15:54:43 +02:00
ned
d549584c53 fix transcript prompt when stream is enabled 2023-03-26 15:26:22 +02:00
ned
50647ffdc0 also handle generic error while streaming response 2023-03-26 13:04:16 +02:00
ned
90365c6d9e update README.md 2023-03-26 12:54:18 +02:00
ned
cf890d929f update README.md 2023-03-26 12:53:05 +02:00
ned
789d6cd0bc made is_admin not async 2023-03-26 12:46:46 +02:00
ned
1a87a44421 Merge pull request #103 from AlexHTW/add-balance-function
Add balance functions to stats command
2023-03-26 12:46:05 +02:00
ned
00dfa80dc7 Merge pull request #110 from n3d1117/feature/stream-support
Initial stream support
2023-03-26 12:30:56 +02:00