SGLang QwQ Tool use with LibreChat agent fails #6257
Unanswered
JohnZolton
asked this question in
Troubleshooting
Replies: 1 comment
-
It's an SGLang issue. This is my first time hearing of the project, but so long as it is fully openai-compatible, including the way tools are used, it would be supported like many of the other endpoints already supported. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
I'm running Librechat in docker and connect to sglang server QwQ per below. When I make an assistant message via the librechat agent it fails during the tool call with the following:
I'm not sure where to begin, if this is a librechat or sglang issue so i asked in both
Version Information
hcr.io/danny-avila/librechat-dev latest 59660cbf7aa2 46 hours ago 872MB
ghcr.io/danny-avila/librechat-rag-api-dev-lite latest 6550e7ddf180 2 days ago 1.3GB
ghcr.io/danny-avila/librechat-dev e74e0207d3c8 4 months ago 882MB
ghcr.io/danny-avila/librechat-dev cd66b4721fa1 4 months ago 882MB
ghcr.io/danny-avila/librechat-rag-api-dev-lite 46d2ae2253d1 4 months ago 2.1GB
Steps to Reproduce
Reproduction
python -m sglang.launch_server --model-path Qwen/QwQ-32B-AWQ --tp 2 --enable-p2p-check --host 0.0.0.0 --reasoning-parser deepseek-r1 --tool-call-parser qwen25 --port 30000
restart Librechat, make an agent with QwQ and ask it to use a tool. the thinking will run, then when the tool call happens, it crashes with the above error
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions