Commit Graph

  • e9e9f1f8b6 corrects openai incorrectly referred to as 'downstream' nai-degen 2023-05-06 10:07:09 -05:00
  • e541a7b892 forgot string.replace doesn't actually mutate the string nai-degen 2023-05-06 09:55:59 -05:00
  • 119c2f827a fixes org-ID redaction on errors which don't include one nai-degen 2023-05-06 09:51:09 -05:00
  • e0529197cd Prevent leaking OpenAI organization-ids in error responses (khanon/oai-reverse-proxy!5) gronon 2023-05-06 12:22:05 +00:00
  • 432023f875 cycles out keys which have been disabled nai-degen 2023-05-05 09:50:43 -05:00
  • 77bcbc7954 fixes bad pino redaction syntax nai-degen 2023-05-04 16:43:26 -05:00
  • 4dc9c649d8 fixes server blowing up when a streaming request drops out nai-degen 2023-05-04 16:37:16 -05:00
  • be1e672e68 prevents revealing x-forwarded-for ip addresses in HTTP logs nai-degen 2023-05-04 16:31:40 -05:00
  • 1fc0138e65 prevents revealing api keys in logs during startup crash nai-degen 2023-05-04 16:29:36 -05:00
  • 94720b51e7 fixes post-startup checks nai-degen 2023-05-01 18:35:35 -05:00
  • 40eac590af checks multiple keys at once during startup nai-degen 2023-05-01 18:31:04 -05:00
  • b1a331bde0 reduces keychecker delay, really not necessary to wait so long in between each key nai-degen 2023-05-01 18:16:12 -05:00
  • 176a37928d Implement support for streamed OpenAI responses (khanon/oai-reverse-proxy!4) nai-degen 2023-05-01 22:01:47 +00:00
  • 2b783e0f2b improves model_not_found error message nai-degen 2023-04-30 22:01:45 -07:00
  • 16b5ccb977 disables key downgrade feature to prevent abuse nai-degen 2023-04-30 21:30:42 -07:00
  • 1d69078514 displays huggingface metadata on infopage if present nai-degen 2023-04-17 14:19:33 -07:00
  • 9afa4570ec adds repo link to prompt logging notice nai-degen 2023-04-15 01:11:00 -07:00
  • e4495798ee omits undefined values from listConfig nai-degen 2023-04-15 00:44:52 -07:00
  • 5c885eaa1a removes duplicate keys which cause keychecker to get stuck nai-degen 2023-04-14 21:13:24 -07:00
  • 673f6f6185 actually fixes prompt logger path detection nai-degen 2023-04-14 20:54:55 -07:00
  • 717788b9b0 fixes key checker getting stuck in infinte loop nai-degen 2023-04-14 20:51:05 -07:00
  • 5e046b9060 fixes bug introduced in previous commit which prevented logging nai-degen 2023-04-14 20:19:26 -07:00
  • 34ed165a6f fixes issue with attempting to log non-completion endpoints nai-degen 2023-04-14 20:10:14 -07:00
  • 0f60fa9407 updates logging README to warn about Google retardation nai-degen 2023-04-14 19:08:15 -07:00
  • fc3043dad0 Implements prompt logging via Google Sheets (khanon/oai-reverse-proxy!1) nai-degen 2023-04-15 01:21:04 +00:00
  • a767044850 Refactor onProxyRes handlers to use middleware stack (khanon/oai-reverse-proxy!2) nai-degen 2023-04-14 15:29:11 +00:00
  • 6cf529b405 updates huggingface docs with new repo url nai-degen 2023-04-11 16:02:41 -07:00
  • a98665f013 reverts disabling keys which have gone above hardlimit, just let the API do that nai-degen 2023-04-11 12:10:58 -07:00
  • bbcc76266f improves downstream API error handling nai-degen 2023-04-11 05:01:35 -07:00
  • a8340b0dd4 redacts bearer tokens from logs nai-degen 2023-04-11 03:39:24 -07:00
  • 65c5cfeef2 fixes quota checking not counting the current day nai-degen 2023-04-11 03:28:50 -07:00
  • 920612f1ce rewrites urls to deal with client idiosyncrasies nai-degen 2023-04-11 03:20:19 -07:00
  • 44f667976a simplifies infopage and updates README nai-degen 2023-04-11 03:19:05 -07:00
  • 15ed8e7c25 adds TODOs so I don't forget nai-degen 2023-04-10 20:02:48 -07:00
  • f3a13129f9 fixes dead keys being 'revived' by a queued check nai-degen 2023-04-10 19:57:32 -07:00
  • 885487a61d fixes kobold key selection, I think nai-degen 2023-04-10 19:50:42 -07:00
  • f37a2fa7fa temporarily disable gpt-4 for kobold as it is broken nai-degen 2023-04-10 04:56:04 -07:00
  • f0afc8c420 fixes kobold endpoint not actually being rate-limited nai-degen 2023-04-10 06:42:12 -05:00
  • 6b47c1cdc5 improves quota display nai-degen 2023-04-10 04:16:14 -07:00
  • 4200d8203d redacts cookies in logs; fix sha on infopage nai-degen 2023-04-10 03:39:13 -07:00
  • 2a4dfe2501 Merge branch 'main' of https://github.com/nai-degen/oai-reverse-proxy nai-degen 2023-04-10 03:11:36 -07:00
  • 1238ee77c9 adds SHA to infopage nai-degen 2023-04-10 03:11:26 -07:00
  • 75e004d2b1 tries to handle exhausted trials a bit better nai-degen 2023-04-10 03:11:14 -07:00
  • 111fb1a7c5 improves service info page nai-degen 2023-04-10 04:44:38 -05:00
  • de5833e1e5 unfucks quota checking for real this time nai-degen 2023-04-10 02:42:56 -07:00
  • ca7f57f493 improves key checker nai-degen 2023-04-10 01:49:52 -07:00
  • 91cba67650 fixes kobold content-encoding nai-degen 2023-04-10 00:53:27 -07:00
  • 14c890f268 refactors keypool and implements key health checks nai-degen 2023-04-10 00:27:45 -07:00
  • 39cdb2e1e8 moves keys.ts into keys/key-pool.ts nai-degen 2023-04-09 21:26:58 -07:00
  • 05ba17e65a fixes huggingface dockerfile nai-degen 2023-04-09 21:25:59 -07:00
  • ede7a1f0cb fixes incorrectly named replit.nix file nai-degen 2023-04-09 21:28:51 -05:00
  • 377194cad8 updates README nai-degen 2023-04-09 21:14:22 -05:00
  • 518a5b125d updates docs again nai-degen 2023-04-09 20:39:35 -05:00
  • 922268076e refines huggingface instructions nai-degen 2023-04-09 20:34:14 -05:00
  • 04512cb352 updates README nai-degen 2023-04-09 20:21:28 -05:00
  • bae6574926 adds documentation for huggingface deployments nai-degen 2023-04-09 20:11:07 -05:00
  • 5bf87646eb adds preliminary replit support nai-degen 2023-04-09 18:55:24 -05:00
  • 7bb70ddfdc correctly decompresses gzip/deflate payloads nai-degen 2023-04-09 02:30:59 -05:00
  • 326def06a3 adjusts logging to troubleshoot errors from openai nai-degen 2023-04-09 01:13:41 -05:00
  • c4f8679bda exempts hosted agnai from rate limit nai-degen 2023-04-09 00:49:14 -05:00
  • 41637aca1b updates info page with new kobold url nai-degen 2023-04-09 00:30:20 -05:00
  • fd75f5c0c6 implements kobold endpoint nai-degen 2023-04-09 00:28:51 -05:00
  • 1ba72582da updates .env.example again nai-degen 2023-04-08 22:00:45 -05:00
  • 716ed3c15e updates .env.example nai-degen 2023-04-08 22:00:30 -05:00
  • b889374cef adds variable filter sampling rate nai-degen 2023-04-08 21:57:51 -05:00
  • d0ce8a4632 implements language filter nai-degen 2023-04-08 21:49:06 -05:00
  • 51becc36b9 fixes rate limiter to work with HF load balancing nai-degen 2023-04-08 21:00:21 -05:00
  • 5c585d1777 adds rate limiter nai-degen 2023-04-08 20:40:45 -05:00
  • e9b275d488 refactors request rewriters nai-degen 2023-04-08 18:57:35 -05:00
  • c51a0ef94d improves config handling nai-degen 2023-04-08 18:32:49 -05:00
  • 11308b2baa adds prompt counter nai-degen 2023-04-08 11:13:55 -05:00
  • c74c527f46 fixes http headers being set in wrong order nai-degen 2023-04-08 10:13:00 -05:00
  • 45451c4486 fixes incorrect Service Info URLs nai-degen 2023-04-08 09:31:04 -05:00
  • e5e6f61ddf removes unused proxy.ts nai-degen 2023-04-08 09:01:46 -05:00
  • f4716bead5 updates documentation nai-degen 2023-04-08 09:00:19 -05:00
  • 8143795d5e updates docs nai-degen 2023-04-08 08:50:03 -05:00
  • 51e07b82f5 removes unused files from failed rename nai-degen 2023-04-08 08:34:46 -05:00
  • 0c133b0a2d fixes openai proxy nai-degen 2023-04-08 08:24:07 -05:00
  • 66b8b6a5d0 loads keys on startup nai-degen 2023-04-08 06:02:59 -05:00
  • ba4aca7608 improves startup logging nai-degen 2023-04-08 05:45:09 -05:00
  • e2509d087c adds info page nai-degen 2023-04-08 05:43:28 -05:00
  • 6ba5670f29 clones retrieved keys to messy object mutation shit nai-degen 2023-04-08 05:35:19 -05:00
  • a4840e0fe6 implements basic key rotation nai-degen 2023-04-08 05:32:24 -05:00
  • 5ed37bf035 implements preliminary openai proxy nai-degen 2023-04-08 04:42:36 -05:00
  • ce09e4c0be adds router nai-degen 2023-04-08 04:13:36 -05:00
  • bbfb922dab adds auth nai-degen 2023-04-08 04:12:48 -05:00
  • e1606e3f66 adds basic key management nai-degen 2023-04-08 04:12:15 -05:00
  • 5d0184310c sets up server nai-degen 2023-04-08 02:59:43 -05:00
  • d98ae67c91 project scaffolding nai-degen 2023-04-08 02:34:21 -05:00
  • d1d9e03c5f initial commit nai-degen 2023-04-08 01:54:44 -05:00