Skip to content

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

fix: keep the tmp col on backfill script (#2518)

Hassieb Pakzad5561668b4388
diff --git a/web/scripts/observations-backfill-calculated-cost.ts b/web/scripts/observations-backfill-calculated-cost.ts
index a5e882599c..7af0853d25 100644
--- a/web/scripts/observations-backfill-calculated-cost.ts
+++ b/web/scripts/observations-backfill-calculated-cost.ts
@@ -123,10 +123,10 @@ const backfillCalculatedGenerationCost = async () => {
log("✅ Finished batch update loop.");
- // Drop the temporary column
- log("Dropping temporary column...");
- await prisma.$executeRaw`ALTER TABLE observations DROP COLUMN IF EXISTS tmp_has_calculated_cost;`;
- log("✅ Dropped temporary column");
+ // // Drop the temporary column
+ // log("Dropping temporary column...");
+ // await prisma.$executeRaw`ALTER TABLE observations DROP COLUMN IF EXISTS tmp_has_calculated_cost;`;
+ // log("✅ Dropped temporary column");
log("✅ Finished backfillCalculatedGenerationCost");
} catch (err) {