This commit is contained in:
SPRINX0\prochazka
2025-02-07 17:46:43 +01:00
parent 3d14ca302f
commit a8a3cf729f

View File

@@ -587,7 +587,7 @@ module.exports = {
if (!structure) return { errorMessage: 'No database structure' };
const res = await callCompleteOnCursorApi(text, structure, dialect, line);
if (!res?.sql) {
if (!res?.variants) {
return { errorMessage: 'No SQL generated' };
}