fauxpilot / fauxpilot

FauxPilot - an open-source alternative to GitHub Copilot server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"[StatusCode.UNIMPLEMENTED] Received http2 header with status: 404" from fauxpilot-copilot_proxy-1

tlaerm opened this issue · comments

commented

I think I have the server working correctly but I can't get it to give any answers. See attached server log.
fauxpilot_startup.log

When I issue the curl command from your example:

$ curl -s -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"prompt":"def hello","max_tokens":100,"temperature":0.1,"stop":["\n\n"]}' http://localhost:5000/v1/engines/codegen/completions"

the server log shows:

fauxpilot-copilot_proxy-1  | [StatusCode.UNIMPLEMENTED] Received http2 header with status: 404
fauxpilot-copilot_proxy-1  | Returned completion in 28.78856658935547 ms
fauxpilot-copilot_proxy-1  | INFO:     2023-04-18 15:41:17,546 :: 172.18.0.1:60580 - "POST /v1/engines/codegen/completions HTTP/1.1" 200 OK`

for each request. I have already tried adding the model parameter to the request. Same result. Also tried the swagger UI with the same result.

Would be really thankful for any pointers.

Hello there, thanks for opening your first issue. We welcome you to the FauxPilot community!

Do you got it working?
I have the same issue, but I'm getting this response when i use the vs code extension for it.