Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#189·fauxpilot

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

Author: tlaermCreated Apr 18, 2023Updated Jan 10, 2024

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.

Source: fauxpilot/fauxpilot

View original on GitHubView discussion on GitHub