@@ -294,7 +294,7 @@ interface CachingOptions {
294294 googleExplicitCachingCompatible?: boolean;
295295 }
296296
297-type CacheFamily = "openai" | "google" | "anthropic" | "none";
297+type CacheFamily = "google" | "anthropic" | "none";
298298
299299 export function getCacheFamily(modelString: string): CacheFamily {
300300 const { provider, modelId } = parseModelString(modelString);
@@ -324,12 +324,6 @@ export function getCachingProviderOptions(
324324
325325 const family = getCacheFamily(modelString);
326326
327- if (family === "openai") {
328- return {
329- openai: { promptCacheRetention: opts.openaiRetention ?? "in_memory" },
330- };
331- }
332-
333327 if (
334328 family === "google" &&
335329 opts.googleCachedContent &&