You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor: centralise provider base URLs — eliminate handler/fetcher duplication #350
Several providers define their base URL independently in both the handler (constructor) and the fetcher, meaning a URL change requires edits in two places. The pattern was introduced with earlier providers and carried forward with each new addition.
Affected providers (handler + fetcher both hardcode the same URL):
Export each provider's base URL constant from packages/types/src/providers/<provider>.ts alongside the existing defaultModelId / defaultModelInfo exports, then import it in both the handler and the fetcher.
Activity