mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Remove in-flight coalescing and fix active-provider gap
Address review feedback: 1. Remove in-flight coalescing logic (out of scope for this PR) - Remove inFlightModelFetches map and related logic from modelCache.ts - Remove inFlightEndpointFetches map and related logic from modelEndpointCache.ts - Remove background refresh on file cache hit - Simplify to: memory cache → file cache → network fetch 2. Fix active-provider scoping gap for local providers - Include ollama/lmstudio/huggingface in allFetches when they are the active provider - Prevents empty routerModels response that breaks chat flows for these providers The PR now focuses solely on its primary goal: scope model fetching to the active provider to reduce unnecessary network requests.
This commit is contained in:
parent
9d0f01bf92
commit
3f4edff096