Commit graph

109 commits

Author SHA1 Message Date
nsde 1384b3add8 Added finances endpoint 2023-09-22 00:30:07 +02:00
henceiusegentoo 453c6e7430 Removed local from backups 2023-09-21 22:38:12 +02:00
henceiusegentoo 4673b23055 Made the API return 404 if the model can't be found 2023-09-21 20:17:32 +02:00
henceiusegentoo 0d0453291f Added backups 2023-09-21 19:55:14 +02:00
nsde b174166f2a Removed untested code 2023-09-21 07:32:43 +02:00
nsde d52a5b6a03 Lowered costs 2023-09-18 13:48:56 +02:00
nsde f367520191 Organized code 2023-09-17 21:41:16 +02:00
nsde 2f2e8512eb Removed unneccessary stuff 2023-09-14 22:45:57 +02:00
nsde e06073fba5 Fixed ObjectId issue 2023-09-14 20:43:24 +02:00
nsde 8b325d6b81 Fixed function calling 2023-09-14 18:18:19 +02:00
nsde 98b5614345 I forgor 💀 2023-09-11 02:47:21 +02:00
nsde c23bc7a5d3 Changed timeout to 500 2023-09-10 16:22:46 +02:00
nsde 7d914bc147 Fixed non-stream responses 2023-09-06 11:44:29 +02:00
nsde 98d7588ecf No false notifications 2023-09-04 13:25:12 +02:00
nsde ef3a549030 Made everything 4x faster 2023-09-02 22:30:11 +02:00
nsde 735d0e025b Moderation caching 2023-09-02 22:26:43 +02:00
nsde 4256a5ca9d Added caching and custom endpoint for own moderation path 2023-09-02 22:09:57 +02:00
nsde 6bd5dc534c Special: halved GPT-3 credits cost (thanks for 1.000 members!)
If no model is given, the API now defaults to gpt-3.5-turbo
We now also support gpt-3.5-turbo-0301!
Made provider code asynchronous
New dependency requirement: aiofiles
Staff now gets a notification when a provider key is invalid
Internal improvements with log webhooks for staff
Removed image model check
2023-09-02 21:15:55 +02:00
nsde 008bf56fdf Fixed spelling 2023-08-30 22:19:27 +02:00
nsde 15f816fd1d Uses own AI for moderation 2023-08-30 22:13:23 +02:00
nsde d4237dd65e Small improvements 2023-08-30 20:55:31 +02:00
nsde 947b70aae9 Fix 2023-08-29 01:23:00 +02:00
nsde c0cff2e709 Added variables 2023-08-29 01:18:55 +02:00
nsde c58eaa5b32 Small moderation timeout improvements, added SDXL check 2023-08-28 13:47:13 +02:00
nsde 5fdc15c90f Fixed moderation, cleanup and other performance changes 2023-08-28 00:58:32 +02:00
nsde 0e4a0c60ec cool stuff or smth 2023-08-27 04:29:16 +02:00
nsde 778114decf User agent fix 2023-08-25 19:13:39 +02:00
nsde f01b8e5ecc Resolved some issues 2023-08-24 14:57:36 +02:00
nsde 4f3a5264f2 Auto-trigger - Production server started 2023-08-23 23:31:43 +02:00
nsde c4137a9eab Auto-trigger - Production server started 2023-08-23 23:30:55 +02:00
nsde 6a527b63fd Auto-trigger - Production server started 2023-08-23 23:27:09 +02:00
nsde 110f6a2acd I think I fixed the errors 2023-08-23 23:26:43 +02:00
nsde a7b2ce7aa5 Fixed non-streamed text completions 2023-08-22 20:03:55 +02:00
nsde 998139d4d8 More secury (thanks �) 2023-08-21 21:09:22 +02:00
nsde eb6ebd2112 Made code more robust (dotenv) and working on tests 2023-08-21 20:58:05 +02:00
nsde 735778d13f Set default keygen infix 2023-08-20 14:07:49 +02:00
Game_Time 6c8814e885
Update main.py 2023-08-20 15:18:36 +05:00
nsde ce2cd9469e Quicker models endpoint 2023-08-19 17:53:48 +02:00
nsde 474723c6dd Added gpt-4-32k support 2023-08-19 17:47:57 +02:00
Game_Time e3f938bb1a
Update users.py to enviorn 2023-08-19 19:26:37 +05:00
Game_Time 8719efd619
Update stats.py to enviorn 2023-08-19 19:26:14 +05:00
Game_Time 6d84c625a2
change .getenv to .enviorn 2023-08-19 19:25:45 +05:00
nsde 596861d2ee Fixed credit system? 2023-08-19 13:30:46 +02:00
nsde c07af0aed8 I don't even fkin know lmfao 2023-08-18 21:23:00 +02:00
Game_Time b09bf688b4
Update stats.py with env mongodb 2023-08-17 16:13:20 +05:00
Game_Time d741a43b6b Re-added rate limiting, fixed a bunch of issues 2023-08-17 16:11:35 +05:00
nsde f6cd1f7aa2 Some fixes? 2023-08-16 15:06:16 +02:00
nsde 8c05fd9d87 Commented out rate-limiting etc. 2023-08-16 12:08:58 +02:00
nsde 6ea8d2d325 Slight improvements/fixes 2023-08-15 13:55:12 +02:00
Game_Time 69bc2e33de changes to rate limits, check commit desc
- made comments in config better
- added todo to explain weird config
- removed some bad stuff in streaming.py
2023-08-14 14:06:25 +05:00