Commit Graph

301 Commits

Author SHA1 Message Date
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
ned
c6932c8a12 Updated README.md and .env.example 2023-04-11 18:51:01 +02:00
ned
e7eb569a73 Merge pull request #199 from slippersheepig/patch-1
Add arm64 platform image
2023-04-10 17:31:04 +02:00
sheepgreen
d22273d56b remove spaces 2023-04-10 23:29:35 +08:00
ned
1c41c4459f Update README.md 2023-04-10 17:26:50 +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
sheepgreen
7bd2eb3b38 Add arm64 platform image
This should fix [#196](https://github.com/n3d1117/chatgpt-telegram-bot/issues/196#issue-1659479750)
2023-04-08 21:27:34 +08:00
ned
ebf512b265 update README.md 2023-04-08 11:14:09 +02:00
ned
9f10f69756 bump dependencies 2023-04-06 18:25:06 +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
Alexander Hinzer
d365c246c0 Merge branch 'main' into add-budget-types 2023-04-06 15:46:50 +02:00
ned
2e1d3bac23 Merge pull request #188 from AlexHTW/fix-default-transcription-price
Fixed default transcription price
2023-04-06 15:42:25 +02:00
AlexHTW
ed4434901c changed default transcription price to 0.006 2023-04-06 15:34:48 +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
ned
5ffe144824 Merge pull request #186 from JokerQyou/userid-patch-1
Ignore empty value when validating user IDs
2023-04-06 12:54:19 +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
9cc881caf0 fixed default price for transcriptions
removed double quotes from README descriptions
2023-04-05 13:36:26 +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
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