Commit graph

192 commits

Author SHA1 Message Date
NovaOSS Admins d255742743 cool fixes yea 2023-10-15 19:22:24 +00:00
nsde d1c7180d5d Small fixes 2023-10-14 01:23:25 +02:00
nsde d1085b00c3 Made added azure providers simpler 2023-10-14 01:15:59 +02:00
nsde eb6768cae5 Documented almost everything 2023-10-12 00:03:15 +02:00
nsde 169f5469a9 Merge branch 'main' of https://github.com/Luna-OSS/nova-api 2023-10-09 19:09:02 +02:00
nsde d52aadd034 some stuff 2023-10-09 19:09:01 +02:00
nsde a3b94d45b7
Merge pull request #17 from monosans/patch-1
Refactor file operations
2023-10-09 15:08:45 +02:00
monosans ade7244cea
Refactor file operations 2023-10-09 09:02:09 +03:00
nsde 003a7d3d71
Merge pull request #18 from monosans/patch-2
Fix dangling asyncio tasks
2023-10-09 00:06:45 +02:00
nsde ad9f442fa1
Merge pull request #19 from monosans/patch-3
Add missing await
2023-10-09 00:06:14 +02:00
nsde 23a904f3ce Added buffering, fixing a common chunk yielding issue 2023-10-08 23:56:32 +02:00
monosans de2710539f
Add missing await 2023-10-08 23:05:11 +03:00
monosans 007e078fb6
Fix dangling asyncio tasks 2023-10-08 23:05:03 +03:00
nsde a6af7bd1a4 aight 2023-10-08 21:53:27 +02:00
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 42f876e208 Readme changes 2023-09-20 22:40:50 +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 ed9ecceb77 Fixed checks 2023-09-14 22:37:29 +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