Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(modelMatch): move cache to separate namespace (#10784)

Hassieb Pakzad045eb8cd9c0b
diff --git a/packages/shared/src/server/ingestion/modelMatch.ts b/packages/shared/src/server/ingestion/modelMatch.ts
index 65e0747e93..2e12bc1655 100644
--- a/packages/shared/src/server/ingestion/modelMatch.ts
+++ b/packages/shared/src/server/ingestion/modelMatch.ts
@@ -290,9 +290,9 @@ const getModelMatchKeyPrefix = () => {
if (env.REDIS_CLUSTER_ENABLED === "true") {
// Use hash tags for Redis cluster compatibility
// This ensures all model cache keys are placed on the same hash slot
- return "{model-match}";
+ return "{model-price-tiers}";
}
- return "model-match";
+ return "model-price-tiers";
};
export const redisModelToPrismaModel = (redisModel: Model): Model => {