diff --git a/frontend/src/app/components/dashboard/dashboard.component.css b/frontend/src/app/components/dashboard/dashboard.component.css index 1f50c8bf6..1ee832b5a 100644 --- a/frontend/src/app/components/dashboard/dashboard.component.css +++ b/frontend/src/app/components/dashboard/dashboard.component.css @@ -96,6 +96,14 @@ position: initial; } +.alerts app-alert:empty { + display: none; +} + +.alerts:has(app-alert:only-child:empty) { + margin: 0; +} + .error-details { margin-top: 8px; } diff --git a/frontend/src/app/services/tables.service.ts b/frontend/src/app/services/tables.service.ts index 3a39a9fd0..eb1fc93a0 100644 --- a/frontend/src/app/services/tables.service.ts +++ b/frontend/src/app/services/tables.service.ts @@ -533,7 +533,7 @@ export class TablesService { createAIthread(connectionID, tableName, message) { return this._http .post( - `/ai/v2/request/${connectionID}`, + `/ai/v4/request/${connectionID}`, { user_message: message }, { responseType: 'text' as 'json', @@ -563,7 +563,7 @@ export class TablesService { console.log('threadId', threadId); return this._http .post( - `/ai/v2/request/${connectionID}`, + `/ai/v4/request/${connectionID}`, { user_message: message }, { responseType: 'text' as 'json',