Commit graph

11 commits

Author SHA1 Message Date
alekseiberezhnoi
32a3c76fd7
fix raise FauxPilotexception (#172) 2023-03-28 10:06:20 +02:00
Fred de Gier
283668448d
Dev (#148)
* Create publish-docker-images.yaml

* Add copilot_proxy publishing

* Add model_converter publishing

* Use dockerhub version

* Do not login for PRs

* Overwrite some of labels value

* Move ignore files to the root of `context`

* Add comments & fix some issue

* Fix typos

* Remove the target of the master branch

* Delete .dockerignore

* Delete .dockerignore

* Add Flake8

* Add Flake8 and format code accordingly

* Iterate on the PR template, fix the token for the contributor action

* Remove converter image build

* Update Dockerfile of proxy

* Comment out proxy image in compose

Co-authored-by: Fred de Gier <freddegier@me.com>

* Fix build action

---------

Co-authored-by: Rowe Wilson Frederisk Holme <frederisk@outlook.com>
2023-02-15 09:17:07 +01:00
Fred de Gier
9bc968da02
Apply suggestions from code review 2023-02-13 15:24:18 +01:00
Jingbei Li
0be814be58 add fake copilot authentication to copilot proxy 2023-01-31 16:41:51 +08:00
Jingbei Li
fe69980660 make copilot proxy compatible with official copilot plugins 2023-01-31 16:21:48 +08:00
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