mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
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:
parent
00a3738d30
commit
53bd5e6bf2
1 changed files with 7 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue