Add copilot-codex completions endpoint for drop-in copilot usage

This commit is contained in:
Andrei Betlen 2023-08-25 17:49:14 -04:00
parent 895f84f8fa
commit 5de8009706

View file

@ -574,6 +574,7 @@ def make_logit_bias_processor(
@router.post(
"/v1/completions",
)
@router.post("/v1/engines/copilot-codex/completions")
async def create_completion(
request: Request,
body: CreateCompletionRequest,