Commit graph

119 commits

Author SHA1 Message Date
nsde 6f6f15e698 pls dont abuse my api thnkx <3 2023-10-08 00:28:13 +02:00
nsde 719f29fb29 Added azure endpoints 2023-10-06 23:05:38 +02:00
nsde 21331874db We're FULLY open source on GitHub now! 2023-10-05 15:06:33 +02:00
nsde 6ef8441681 Improved errors, checking and fixed ratelimit retrying 2023-10-05 14:17:53 +02:00
nsde 01aa41b6b1 yoooo everything works now 100% 🔥 2023-10-04 23:24:55 +02:00
nsde 7a22c1726f implemented key ratelimit checks 2023-10-02 21:09:39 +02:00
nsde 007050e9fe Fixes 2023-10-02 20:06:38 +02:00
nsde 577cdc0d0b Key rate-limit system thanks to Leander, full proxy list support 2023-10-02 20:06:18 +02:00
henceiusegentoo 1e2a596df3 Added key validation by API-key instead of IP
Added rate limited keys getting logged in a database
2023-09-23 21:41:48 +02:00
henceiusegentoo d3d9ead8f4 Added /v1/accounts/credits 2023-09-22 02:38:21 +02:00
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