This commit is contained in:
hailin 2025-05-28 10:47:10 +08:00
parent b3c0b0d38f
commit 765f61d444
1 changed files with 2 additions and 2 deletions

View File

@ -165,9 +165,9 @@ export async function POST(req: Request) {
: null, : null,
bge_m3_embedding: bge_m3_embedding:
embeddingsProvider === "bge-m3" embeddingsProvider === "bge-m3"
? (embeddings[index] || null) as any) ? (embeddings[index] || null) as any
: null : null
}) }))
await supabaseAdmin.from("file_items").upsert(file_items) await supabaseAdmin.from("file_items").upsert(file_items)