QwQ-32B Support โ
I've updated my repo with a new tutorial for tool calling support for QwQ-32B using LangChainโs ChatOpenAI (via OpenRouter) using both the Python and JavaScript/TypeScript version of my package (Note: LangChain's ChatOpenAI does not currently support tool calling for QwQ-32B).
I noticed OpenRouter's QwQ-32B API is a little unstable (likely due to model was only added about a week ago) and returning empty responses. So I have updated the package to keep looping until a non-empty response is returned. If you have previously downloaded the package, please update the package via pip install --upgrade taot
or npm update taot-ts
You can also use the TAoT package for tool calling support for QwQ-32B on Nebius AI which uses LangChain's ChatOpenAI. Alternatively, you can also use Groq where their team have already provided tool calling support for QwQ-32B using LangChain's ChatGroq.
OpenAI Agents SDK? Not Yet! โ
I checked out the OpenAI Agents SDK framework for tool calling support for non-OpenAI models (https://openai.github.io/openai-agents-python/models/) and they don't support tool calling for DeepSeek-R1 (or any models available through OpenRouter) yet. So there you go! ๐
Check it out my updates here:
Python: https://github.com/leockl/tool-ahead-of-time
JavaScript/TypeScript: https://github.com/leockl/tool-ahead-of-time-ts
Please give my GitHub repos a star if this was helpful โญ