exempts 'special' role from rate limiting

This commit is contained in:
nai-degen
2023-10-06 20:29:28 -05:00
parent daf6a123d5
commit 12f78fa1f2
3 changed files with 4 additions and 6 deletions
@@ -7,7 +7,7 @@ export const setApiFormat = (api: {
outApi: APIFormat;
service: LLMService,
}): RequestPreprocessor => {
return (req) => {
return function configureRequestApiFormat (req) {
req.inboundApi = api.inApi;
req.outboundApi = api.outApi;
req.service = api.service;