fix: remove broken Hugging Face documentation link

- Add huggingface to excluded providers list in docs mapping
- Prevents 404 error when clicking documentation link in provider settings
- Documentation link will be hidden until proper docs page is created

Fixes #6334
This commit is contained in:
Roo Code 2025-07-29 06:19:21 +00:00
parent 00a3738d30
commit 53bd5e6bf2

View file

@ -326,6 +326,13 @@ const ApiOptions = ({
return undefined
}
// Providers that don't have documentation pages yet
const excludedProviders = ["huggingface"]
if (excludedProviders.includes(selectedProvider)) {
return undefined
}
// Get the URL slug - use custom mapping if available, otherwise use the provider key.
const slugs: Record<string, string> = {
"openai-native": "openai",