Skip to content

Commit 4b45c8f

Browse files
committed
refactor: reorganize imports and clean up telemetry code in deduplication categorizer
1 parent cc96a85 commit 4b45c8f

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/lib/ai/deduplication-categorizer.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { generateObject } from "ai";
22
import { z } from "zod";
33
import { CategoryEnum, TagSchema } from "@/lib/ai/categorization";
4-
import { createLogger, DEBUG } from "@/lib/logger";
4+
import { createLogger } from "@/lib/logger";
55
import type { AIProvider } from "@/lib/providers/registry";
66
import { storage } from "@/lib/storage";
77
import type { MemoryEntry } from "@/types/memory";
@@ -138,15 +138,6 @@ export class DeduplicationCategorizer {
138138
schemaDescription:
139139
"Deduplication and categorization results for captured fields",
140140
temperature: 0.3,
141-
experimental_telemetry: {
142-
isEnabled: DEBUG,
143-
functionId: "memory-deduplication-categorization",
144-
metadata: {
145-
newFieldsCount: newFields.length,
146-
existingMemoriesCount: existingMemories.length,
147-
provider,
148-
},
149-
},
150141
});
151142

152143
logger.info("Deduplication + Categorization result:", {

0 commit comments

Comments
 (0)