Roo-Code/webview-ui/src/i18n
Thomas G. Lopes 31d16dcc33
Hugging Face provider: add more details (#6190)
* add more details

* format details better

* fix tests

* fix: address PR #6190 review feedback

- Move huggingface-models.ts to src/api/providers/fetchers/huggingface.ts
- Remove 'any' types and add proper TypeScript interfaces
- Add missing i18n keys and translations for all languages
- Replace magic numbers with named constants
- Add JSDoc documentation for HuggingFaceModel interface
- Improve error handling in API endpoint
- Update model capabilities display to match other providers
- Remove tool calling display (not used)
- Add comprehensive test coverage for new UI features

* fix: preserve HuggingFace provider details in model response

- Store raw HuggingFace models in cache to preserve provider information
- Export getCachedRawHuggingFaceModels to retrieve full model data
- Update huggingface-models.ts to return cached raw models when available
- Include provider name in model descriptions
- Always add provider-specific variants to show all available providers
- Remove console.log statements from fetcher

---------

Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-07-25 20:09:09 -04:00
..
__mocks__ Localize the settings tab 2025-03-16 12:46:28 -04:00
__tests__ fix: standardize tooltip delays to 300ms (#5090) (#5098) 2025-06-26 15:41:32 -04:00
locales Hugging Face provider: add more details (#6190) 2025-07-25 20:09:09 -04:00
setup.ts Add i18n 2025-03-12 11:23:06 -04:00
TranslationContext.tsx PR cleanup 2025-03-12 11:23:06 -04:00