mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 12:22:14 +03:00
feat: gitlawb opengateway provider + providers page filter chips Three independent contributions from oyi77 bundled in this PR: 1. Gitlawb Opengateway provider (b83d1a0fc): - gitlawb (alias glb) — xiaomi-mimo endpoint with 5 MiMo models - gitlawb-gmi (alias glb-gmi) — gmi-cloud endpoint with 40+ models - Both flagged free tier, CLI-mimicking headers to avoid upstream rate limiting - 9 unit tests in tests/unit/gitlawb-provider.test.ts (all green) 2. hasFree flag (d7dcd233a): friendliai, chutes, featherless-ai now correctly surface free tier badge in the providers page. 3. UI additions (debf7cb28): - CollapsibleSection.tsx (coexists with our existing Collapsible.tsx — different API for different use cases) - Category filter chips bar on /dashboard/providers (auto-merged) - Free-only toggle on /dashboard/providers (auto-merged) - Extended filterConfiguredProviderEntries with showFreeOnly param - i18n tooltip keys for Caveman/RTK settings (union with our simpleMode/advancedMode/filterCatalog keys) - InfoTooltip + PresetSlider identical to PR #2316 versions (silent dedup by auto-merge) Conflict resolution: - src/shared/components/index.tsx: union — added CollapsibleSection export alongside our NoAuthProviderCard. - src/i18n/messages/en.json: union — kept all our keys from #2316 (simpleMode/advancedMode/filterCatalog/filterCatalogDesc) and added PR's tooltip keys (searchFilters, tooltipDedup, tooltipMaxChars, tooltipMaxLines, tooltipAutoTrigger, tooltipCompressionRate, tooltipMaxTokens, tooltipMinLength, tooltipMinSavings, ultraSettings, ultraSettingsDesc). Closes #2314