Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Merge branch 'main' into feat/map-few-results

Ademílson Tonatodff27a6c809b
diff --cc apps/api/src/lib/extract/extraction-service.ts
index c4952a160,237d67b80..d3570d362
--- a/apps/api/src/lib/extract/extraction-service.ts
+++ b/apps/api/src/lib/extract/extraction-service.ts
@@@ -79,7 -79,7 +79,9 @@@ export async function performExtraction
options: ExtractServiceOptions,
): Promise<ExtractResult> {
const { request, teamId, subId, apiKeyId } = options;
-- const createdAt = options.createdAt ? new Date(options.createdAt) : new Date();
++ const createdAt = options.createdAt
++ ? new Date(options.createdAt)
++ : new Date();
const urlTraces: URLTrace[] = [];
let docsMap: Map<string, Document> = new Map();
let singleAnswerCompletions: completions | null = null;
diff --cc apps/api/src/lib/extract/fire-0/extraction-service-f0.ts
index edaf96ca9,874b42819..d79e64ce6
--- a/apps/api/src/lib/extract/fire-0/extraction-service-f0.ts
+++ b/apps/api/src/lib/extract/fire-0/extraction-service-f0.ts
@@@ -76,7 -76,7 +76,9 @@@ export async function performExtraction
options: ExtractServiceOptions,
): Promise<ExtractResult> {
const { request, teamId, subId, apiKeyId } = options;
-- const createdAt = options.createdAt ? new Date(options.createdAt) : new Date();
++ const createdAt = options.createdAt
++ ? new Date(options.createdAt)
++ : new Date();
const urlTraces: URLTrace[] = [];
let docsMap: Map<string, Document> = new Map();
let singleAnswerCompletions: completions | null = null;