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
{{ message }}
Repository navigation
How to modify Plan and Build agents to pass chat_template_kwargs? #23995
I had to change my local "provider" to be named something like "openai-compatible" and then under models -> variants, I defined "think" and "no_think" variants" that have "chat_template_kwargs" as I needed.
However, even though this makes the local model able to use different variants, there is still question of how to make agent use particular local model variant.
It's already supported to configure a variant for each agent BUT there is code change needed so that switching agents will automatically load the variant that you configured for the agent. I opened a PR for that
Activity
pragnakalpdev59 commentedon May 1, 2026
Has it been solved? I am on version 1.14.30 and I am not getting any response for V4 Pro.
lowlyocean commentedon May 1, 2026
I had to change my local "provider" to be named something like "openai-compatible" and then under models -> variants, I defined "think" and "no_think" variants" that have "chat_template_kwargs" as I needed.
However, even though this makes the local model able to use different variants, there is still question of how to make agent use particular local model variant.
It's already supported to configure a variant for each agent BUT there is code change needed so that switching agents will automatically load the variant that you configured for the agent. I opened a PR for that
rekram1-node commentedon Jun 23, 2026
Automated: closing question issues.
GitHub Issues are for bug reports and feature requests only — questions / support are no longer tracked here.
If this is a bug or feature request, please open a new issue with the appropriate template.