Commit graph

6 commits

Author SHA1 Message Date
Brendan Dolan-Gavitt
b7b85461af Reformat the error to match OpenAI's 2022-11-01 12:46:55 -04:00
Fred de Gier
e2486698e0 feat: Return a 400 if prompt exceeds max tokens 2022-10-20 14:56:39 +02:00
Fred de Gier
87f4f53e27 Simplify config and port handling 2022-10-03 14:13:10 +02:00
Fred de Gier
6671196ec8 Add OpenAI completions endpoint 2022-09-19 13:53:08 +02:00
Fred de Gier
8895b74238 Rewrite API to FastAPI, separate API from CodeGen, remove dev settings 2022-09-12 12:59:37 +02:00
Brendan Dolan-Gavitt
a23a1478f7 Initial commit 2022-08-02 21:47:27 -04:00