Fix: Improve podcast analysis LLM prompt and skip bible generation in podcast mode

- Add pandas to requirements-podcast.txt for usage tracking
- Fix LLM prompt to return plain strings instead of objects for enhanced_ideas
- Add object-to-string normalization for LLM responses that return objects
- Skip bible generation in podcast-only mode (onboarding disabled)
- Skip alerts polling in AlertsBadge when in podcast-only demo mode
This commit is contained in:
ajaysi
2026-04-06 15:19:23 +05:30
parent b5ab46a749
commit 348839be36
3 changed files with 65 additions and 14 deletions

View File

@@ -222,6 +222,11 @@ const AlertsBadge: React.FC<AlertsBadgeProps> = ({ colorMode = 'light' }) => {
// Poll for alerts
useEffect(() => {
// Skip alerts polling entirely in podcast-only mode
if (isPodcastOnlyDemoMode()) {
return;
}
if (!userId) return;
// Delay initial fetch slightly to ensure auth token getter is installed