mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-08-19 21:04:08 -07:00
make copilot proxy compatible with official copilot plugins
This commit is contained in:
parent
4441e5e16b
commit
fe69980660
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ async def fauxpilot_handler(request: Request, exc: FauxPilotException):
|
||||||
)
|
)
|
||||||
|
|
||||||
@app.post("/v1/engines/codegen/completions")
|
@app.post("/v1/engines/codegen/completions")
|
||||||
|
@app.post("/v1/engines/copilot-codex/completions")
|
||||||
@app.post("/v1/completions")
|
@app.post("/v1/completions")
|
||||||
async def completions(data: OpenAIinput):
|
async def completions(data: OpenAIinput):
|
||||||
data = data.dict()
|
data = data.dict()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue