Open tmbdev opened 2 months ago
I have the same issues with LangChain's langchain_openai.ChatOpenAI. It sends this parameter in the request but vLLM balks and returns a 400.
I suspect that vLLM doesn't like that 'functions': None
argument. Can you try running something like
sgpt --no-functions --model=Qwen/Qwen2-beta-7B-Chat 'Capital of France?'
Your current environment
๐ Describe the bug
Requests from shell_gpt work fine with OpenAI's API, but they don't work with vllm's emulation of the OpenAI API.
https://github.com/TheR1D/shell_gpt
I would expect OpenAI API emulation to work with common tools like shell_gpt