You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue while using Spring AI’s OpenAI chat framework to integrate with vLLM.
When I use Spring AI to call vLLM, vLLM successfully returns the tool call request the first time. However, when I send a second message to vLLM, it throws an error.
Here is the error message:
org.springframework.ai.retry.NonTransientAiException: 400 - {"object":"error","message":"can only concatenate str (not "dict") to str can only concatenate str (not "dict") to str","type":"BadRequestError","param":null,"code":400}
Then I captured the following packet information on the server: