Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions webview-ui/src/components/settings/ApiOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,9 @@ const ApiOptions = ({
// 3. XML fallback
const defaultProtocol = selectedModelInfo?.defaultToolProtocol || TOOL_PROTOCOL.XML

// Show the tool protocol selector when model supports native tools
const showToolProtocolSelector = selectedModelInfo?.supportsNativeTools === true
// Show the tool protocol selector when model supports native tools.
// For OpenAI Compatible providers we always show it so users can force XML/native explicitly.
const showToolProtocolSelector = selectedProvider === "openai" || selectedModelInfo?.supportsNativeTools === true

// Convert providers to SearchableSelect options
const providerOptions = useMemo(() => {
Expand Down
Loading