did you use the correct url? it should be http://localhost:5001/v1/chat/completions
replace 5001 with your port number