Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow up to #693 There was trailing space in vlmm snippet which made the snippet unusable. When you try the snippet, vllm server would respond with error: ``` mishig@machine:~$ # Call the server using curl: curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "meta-llama/Llama-3.2-3B-Instruct", "messages": [ {"role": "user", "content": "Hello!"} ] }' {"object":"error","message":"[{'type': 'missing', 'loc': ('body',), 'msg': 'Field required', 'input': None}]","type":"BadRequestError","param":null,"code":400}curl: (3) URL using bad/illegal format or missing URL -H: command not found --data: command not found mishig@machine:~$ ``` Explanation: trailing space was breaking the escaping
- Loading branch information