Skip to content

Conversation

@roomote
Copy link
Contributor

@roomote roomote bot commented Jul 29, 2025

Summary

Fixes the broken Hugging Face documentation link reported in issue #6334.

Problem

When users click on "Hugging Face documentation" in the provider settings, they get redirected to https://docs.roocode.com/providers/huggingface which returns a 404 error.

Solution

Added "huggingface" to the excluded providers list in the documentation link mapping. This prevents the broken documentation link from being displayed until a proper documentation page is created.

Changes

  • Modified webview-ui/src/components/settings/ApiOptions.tsx to exclude Hugging Face from showing documentation links
  • Added excludedProviders array to handle providers without documentation pages

Testing

  • ✅ All existing tests pass
  • ✅ Linting and type checking pass
  • ✅ Hugging Face provider settings no longer show the broken documentation link

Related

Closes #6334


Important

Excludes huggingface from documentation links in ApiOptions.tsx to prevent 404 errors.

  • Behavior:
    • Excludes huggingface from documentation links in ApiOptions.tsx to prevent 404 errors.
    • Adds excludedProviders array to manage providers without documentation.
  • Testing:
    • All tests, linting, and type checks pass.
    • Verified huggingface provider no longer shows a broken link.

This description was created by Ellipsis for 53bd5e6. You can customize this summary. It will automatically update as commits are pushed.

- 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
@roomote roomote bot requested review from cte, jr and mrubens as code owners July 29, 2025 06:20
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 29, 2025
@dosubot dosubot bot added the bug Something isn't working label Jul 29, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Jul 29, 2025
@daniel-lxs
Copy link
Member

Already fixed

@daniel-lxs daniel-lxs closed this Jul 30, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Jul 30, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Huggin Face -> Documentation missing

4 participants