keldenl / gpt-llama.cpp

A llama.cpp drop-in replacement for OpenAI's GPT endpoints, allowing GPT-powered apps to run off local llama.cpp models instead of OpenAI.
MIT License
594 stars 66 forks source link

TypeError: Window.fetch: HEAD or GET Request cannot have a body. #43

Closed gooseillo closed 1 year ago

gooseillo commented 1 year ago

I get this error for the v1/cgat/completions route. The other two work fine.

image

gooseillo commented 1 year ago

I changed the routes in swagger to Post and fixed it.