Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): bypass owned caches on explicit provider refresh #13109

Mergedjuliusmarmingemerged 3 commits intomain fromrefs/pull/13109/headmerged by juliusmarminge View on GitHub

Showing 10 changed files with 9 additions and 3 deletions (loading 7).

x
0 of 10 viewed, 10 left
1 addition and 0 deletionsapps/server/src/provider/Drivers/ClaudeDriver.tsModified
View file
@@ -261,6 +261,7 @@
accentColor,
enabled,
snapshot,
+ invalidateCaches: Cache.invalidateAll(capabilitiesProbeCache),
snapshotForCwd,
adapter,
textGeneration,
3 additions and 2 deletionsapps/server/src/provider/Drivers/CursorDriver.tsModified
View file
@@ -134,11 +134,11 @@
​
const textGeneration = yield* makeCursorTextGeneration(effectiveConfig, processEnv);
​
- const discoverModels = yield* makeCursorModelDiscovery(effectiveConfig, processEnv);
+ const modelDiscovery = yield* makeCursorModelDiscovery(effectiveConfig, processEnv);
const checkProvider = checkCursorProviderStatus(
effectiveConfig,
processEnv,
- discoverModels,
+ modelDiscovery.discover,
).pipe(
Effect.flatMap((snapshot) =>
effectiveConfig.enabled && snapshot.installed && snapshot.auth.status === "authenticated"
@@ -217,6 +217,7 @@
accentColor,
enabled,