TRUEREF-0022 fix, more tests

This commit is contained in:
Giancarmine Salucci
2026-03-30 19:11:09 +02:00
parent 6297edf109
commit ec6140e3bb
12 changed files with 1473 additions and 7 deletions

View File

@@ -16,6 +16,7 @@ import {
type EmbeddingProfileEntityProps
} from '$lib/server/models/embedding-profile.js';
import { EmbeddingProfileMapper } from '$lib/server/mappers/embedding-profile.mapper.js';
import { env } from '$env/dynamic/private';
import type { Handle } from '@sveltejs/kit';
// ---------------------------------------------------------------------------
@@ -48,7 +49,7 @@ try {
}
// Read database path from environment
const dbPath = process.env.DATABASE_URL;
const dbPath = env.DATABASE_URL;
// Read indexing concurrency setting from database
let concurrency = 2; // default