File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
webview-ui/src/components/settings Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -423,8 +423,9 @@ const ApiOptions = ({
423423 // 3. XML fallback
424424 const defaultProtocol = selectedModelInfo ?. defaultToolProtocol || TOOL_PROTOCOL . XML
425425
426- // Show the tool protocol selector when model supports native tools
427- const showToolProtocolSelector = selectedModelInfo ?. supportsNativeTools === true
426+ // Show the tool protocol selector when model supports native tools.
427+ // For OpenAI Compatible providers we always show it so users can force XML/native explicitly.
428+ const showToolProtocolSelector = selectedProvider === "openai" || selectedModelInfo ?. supportsNativeTools === true
428429
429430 // Convert providers to SearchableSelect options
430431 const providerOptions = useMemo ( ( ) => {
You can’t perform that action at this time.
0 commit comments