Closed Raphael-Jin closed 3 months ago
Oh I figure out the solution, that the shape needs to be change accordingly here: https://github.com/npuichigo/openai_trtllm/blob/main/src/routes/completions.rs#L222
Maybe it can be set as the length of the list automatically.
Create a PR for ref. Please review.
When I use this curl to hit the API, it works:
However, when I use:
It failed saying:
Any suggestion about this error?