mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-08-21 05:44:09 -07:00
commit
8e45c61f5f
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ app = FastAPI(
|
||||||
|
|
||||||
|
|
||||||
@app.post("/v1/engines/codegen/completions", status_code=200)
|
@app.post("/v1/engines/codegen/completions", status_code=200)
|
||||||
|
@app.post("/v1/completions", status_code=200)
|
||||||
async def completions(data: OpenAIinput):
|
async def completions(data: OpenAIinput):
|
||||||
data = data.dict()
|
data = data.dict()
|
||||||
print(data)
|
print(data)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue