The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(studio): assistant undefined connection string on self-hosted (#40830)
Alaister Younge44c0975ee16
diff --git a/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx b/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsxindex 3f353fb3712..6f0eb73e1af 100644--- a/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx+++ b/apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx@@ -129,7 +129,7 @@ export const AIAssistant = ({ className }: AIAssistantProps) => {state.setContext({projectRef: project?.ref,orgSlug: selectedOrganizationRef.current?.slug,- connectionString: project?.connectionString || undefined,+ connectionString: project?.connectionString ?? '',})}, [project?.ref, project?.connectionString, selectedOrganizationRef.current?.slug, state])