diff --git a/app/(tabs)/voice-debug.tsx b/app/(tabs)/voice-debug.tsx index 47a06f6..8eb3597 100644 --- a/app/(tabs)/voice-debug.tsx +++ b/app/(tabs)/voice-debug.tsx @@ -41,6 +41,7 @@ export default function VoiceDebugScreen() { status, startSession, stopSession, + voiceApiType, } = useVoice(); const { @@ -250,6 +251,19 @@ export default function VoiceDebugScreen() { + {/* Voice API Type */} + + 📡 + + + API Function + + + {voiceApiType} + + + + {/* Silence Timer */} {sttIsListening && status !== 'processing' && status !== 'speaking' && ( diff --git a/contexts/VoiceContext.tsx b/contexts/VoiceContext.tsx index e75bc41..f8bc4d4 100644 --- a/contexts/VoiceContext.tsx +++ b/contexts/VoiceContext.tsx @@ -245,7 +245,7 @@ export function VoiceProvider({ children }: { children: ReactNode }) { return null; } - console.log('[VoiceContext] Sending transcript to API:', trimmedText); + console.log(`[VoiceContext] Sending transcript to API (${voiceApiType}):`, trimmedText); setStatus('processing'); setError(null);