diff --git a/api/services/configuration/registry.py b/api/services/configuration/registry.py index 7955a4b..8102fa4 100644 --- a/api/services/configuration/registry.py +++ b/api/services/configuration/registry.py @@ -286,7 +286,7 @@ class CartesiaTTSConfiguration(BaseTTSConfiguration): model: str = Field( default="sonic-3", json_schema_extra={"examples": CARTESIA_TTS_MODELS} ) - voice: str = Field(default="a167e0f3-df7e-4d52-a9c3-f949145571bd") + voice: str = Field(default="3faa81ae-d3d8-4ab1-9e44-e50e46d33c30") api_key: str diff --git a/docs/deployment/docker.mdx b/docs/deployment/docker.mdx index 6408e18..d9ac0df 100644 --- a/docs/deployment/docker.mdx +++ b/docs/deployment/docker.mdx @@ -44,7 +44,7 @@ Deploy Dograh AI on a remote server to make it accessible from anywhere using yo ### Prerequisites -- A server with Docker and Docker Compose installed. It should have minimum of 8 GB RAM and 2 vCPUs. +- A server with Docker and Docker Compose installed. It should have minimum of 8 GB RAM and 4 vCPUs. - Public IP address for your server - TCP Ports 80, 443, 3478, 5349 and UDP Ports 3478, 5349 and 49152:49200 reachable from Internet (Port 80 and 443 to access the UI and rest of the ports for WebRTC Signaling) diff --git a/ui/src/app/api/config/auth/route.ts b/ui/src/app/api/config/auth/route.ts index f0a8d96..a3b3347 100644 --- a/ui/src/app/api/config/auth/route.ts +++ b/ui/src/app/api/config/auth/route.ts @@ -1,8 +1,10 @@ import { NextResponse } from 'next/server'; import { getAuthProvider } from '@/lib/auth/config'; +import logger from '@/lib/logger'; export async function GET() { const provider = await getAuthProvider(); + logger.debug(`Got provider ${provider} from getAuthProvider`) return NextResponse.json({ provider }); } diff --git a/ui/src/lib/auth/providers/AuthProvider.tsx b/ui/src/lib/auth/providers/AuthProvider.tsx index 3800fa9..2c83f70 100644 --- a/ui/src/lib/auth/providers/AuthProvider.tsx +++ b/ui/src/lib/auth/providers/AuthProvider.tsx @@ -3,6 +3,8 @@ import { Loader2 } from 'lucide-react'; import React, { createContext, lazy, Suspense, useContext, useEffect, useState } from 'react'; +import logger from '@/lib/logger'; + import type { AuthUser } from '../types'; // Shared context type for both Stack and Local providers @@ -46,8 +48,14 @@ export function AuthProvider({ children }: { children: React.ReactNode }) { useEffect(() => { fetch('/api/config/auth') .then((res) => res.json()) - .then((data) => setAuthProvider(data.provider || 'stack')) - .catch(() => setAuthProvider('local')); + .then((data) => { + logger.debug(`Setting auth provider as ${data.provider}`) + setAuthProvider(data.provider || 'stack') + }) + .catch((e) => { + logger.error(`Got error ${e} while setting auth provider`) + setAuthProvider('local') + }); }, []); if (!authProvider) {