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
Game_Time
de954998d2
Ratelimit system 🎉
2023-08-14 13:47:03 +05:00
Game_Time
f896b18968
Alotta changes.
...
Setup managers and modified other files, cleaning up codebase.
Created user.py class for future type usage.
2023-08-14 08:11:15 +05:00
Game_Time
bb1e9de563
Update streaming to work & change stats to class
2023-08-13 21:42:38 +05:00
Game_Time
885da2a27e
add comments to streaming.py
2023-08-13 21:29:45 +05:00
Game_Time
3e811f3e3b
massive cleanup of streaming (i think this works?)
2023-08-13 21:26:35 +05:00
Game_Time
def26f9104
clean up code a lot
2023-08-13 21:19:56 +05:00
Game_Time
6ecc5f59ce
Codebase changes + a lot of commenting
2023-08-13 20:12:35 +05:00
Game_Time
60a89146da
Update core.py
2023-08-13 14:16:23 +05:00
Game_Time
bd4fc0ad86
code and comment cleanup
2023-08-13 14:12:08 +05:00
Game_Time
e489ff0898
update comments
2023-08-13 14:07:52 +05:00
nsde
a9f817b05e
Removed unused proxy tests and fixed moderation proxy
2023-08-13 00:59:54 +02:00
Game_Time
d5e2846551
Another general cleanup commit
2023-08-12 21:20:18 +05:00
Game_Time
1da39e5242
a few more nice changes
2023-08-12 21:05:53 +05:00
Game_Time
f4a09515fe
modified stuff
2023-08-12 21:01:55 +05:00
Game_Time
10afb8bd5e
Merge branch 'main' of https://github.com/RayBytes/nova-api
2023-08-12 21:01:33 +05:00
Game_Time
afc3b08351
some general changes
2023-08-12 20:56:21 +05:00
nsde
ea68a638e9
Removed unneccesary code
2023-08-12 17:53:54 +02:00
nsde
a7bd57c5a8
Added more documentation
2023-08-12 17:49:31 +02:00
nsde
7fffcf124b
disabled prompt logging
2023-08-12 01:58:53 +02:00
nsde
7ae9918758
Very slight streaming improvements
2023-08-11 21:21:38 +02:00
Leander
be667e46c3
Update users.py
...
Made the "level" field a string
2023-08-10 06:07:26 +02:00
nsde
f0fee481db
Models endpoint is now free and very quick
2023-08-09 11:43:05 +02:00
nsde
a3d51ed92e
Merge branch 'main' of https://github.com/Luna-OSS/nova-api
2023-08-09 11:15:50 +02:00
nsde
0b86f7c26c
Added /v1/models and fixed key invalidation
2023-08-09 11:15:49 +02:00
Leander
0337eed472
Update users.py
...
made by_discord_id use strings
2023-08-09 11:06:55 +02:00
nsde
e589b87fb4
Meade "other" API requests much cheaper
2023-08-08 22:10:43 +02:00
nsde
ce24c3a5a2
Fixed some several issues with moderation, models etc.
2023-08-08 01:04:35 +02:00
nsde
1a3e275a1c
Added auto-rewards and invalid key system
2023-08-07 23:28:24 +02:00
nsde
9a1a9d9e3e
First public release, working on autocredits system
...
Co-authored-by: Leander <henceiusegentoo@users.noreply.github.com>
2023-08-06 23:20:14 +02:00
nsde
83d57307cc
moderation is done yay
2023-08-06 21:42:07 +02:00
Felix
558ea89722
Merge pull request #4 from henceiusegentoo/main
...
Added the auto-credit-system
2023-08-06 12:47:22 +02:00
nsde
bc5cd7122e
idk
2023-08-06 12:46:41 +02:00
henceiusegentoo
c7fc1ba0fb
Added the auto-credit-system
2023-08-06 02:14:46 +02:00
nsde
ea35674853
sleep deprivation caused me to be not productive today
2023-08-06 00:43:36 +02:00
nsde
160ceb5efd
some thingies
2023-08-05 02:30:42 +02:00
nsde
bf7a6b565a
proxies have issues
2023-08-04 17:29:49 +02:00
nsde
72cea38d8d
some stuff idfk
2023-08-04 03:30:56 +02:00
nsde
e76d675dc6
Work in progess
2023-08-03 03:50:04 +02:00
nsde
08d31d7ad1
Added load balancer, MongoDB, improved proxy streaming support, more error messages, entire new world order
2023-08-03 01:46:49 +02:00
nsde
eeea634da0
Various improvements
2023-08-01 20:19:18 +02:00
nsde
13c9e5ea91
Several improvements, about to change DB
2023-08-01 20:19:00 +02:00
nsde
cdcb1eedd1
Functional simple user management
2023-08-01 02:38:55 +02:00
nsde
74f70130c4
why does httpx have no rnds support >:(
2023-07-27 03:44:53 +02:00
nsde
08a8755201
Netclient rewrite coming soon (hopefully?)
2023-07-27 02:44:56 +02:00
nsde
ee5b8561df
Re-wrote net transfer
2023-07-25 19:45:21 +02:00
nsde
605fbc51a3
WIP
2023-07-25 02:42:53 +02:00
nsde
36cbd4c848
Added simple database demo
2023-07-21 21:54:53 +02:00
nsde
83a3c13abf
Works for BetterGPT
2023-07-19 23:51:28 +02:00
nsde
3cfdddab7c
This should be visible on Discord
2023-07-18 14:38:32 +02:00
Game_Time
41a47cdbdc
Update keys.py & add full support for rate limits per key, different base urls per key and provider name
2023-07-04 17:12:29 +05:00
nsde
23533b4aa3
First actually working version I guess (streaming support)
2023-06-30 02:49:56 +02:00
nsde
c0a797599b
Fixed trademarks
2023-06-28 15:21:14 +02:00
Game_Time
3ef5746b1a
merge main.py with new keys system
2023-06-24 23:56:56 +05:00
Game_Time
280e5d9a58
Add model support
2023-06-24 22:26:36 +05:00
Game_Time
6ca84147f2
Update keys.py
2023-06-24 19:18:17 +05:00
Game_Time
7084544c13
Add files via upload
2023-06-24 18:53:02 +05:00
nsde
7c924f4aee
Fixed proxies
2023-06-23 12:07:42 +02:00
nsde
af4387f435
Is git now detecting me? xd
2023-06-23 11:22:34 +02:00
anonymous
4896c92d63
git finally works
2023-06-23 02:18:28 +02:00