From c52b1eabc977a2b0b74a3d9a782fee5b046bfbb6 Mon Sep 17 00:00:00 2001 From: ajaysi Date: Wed, 1 Apr 2026 06:55:31 +0530 Subject: [PATCH] Remove hardcoded huggingface provider from all podcast handlers - script.py: set preferred_provider=None to respect GPT_PROVIDER - research.py: set preferred_provider=None to respect GPT_PROVIDER - Now all podcast handlers use GPT_PROVIDER env var --- backend/api/podcast/handlers/research.py | 2 +- backend/api/podcast/handlers/script.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/api/podcast/handlers/research.py b/backend/api/podcast/handlers/research.py index 503d54bc..f034732d 100644 --- a/backend/api/podcast/handlers/research.py +++ b/backend/api/podcast/handlers/research.py @@ -148,7 +148,7 @@ Requirements: prompt=prompt, user_id=user_id, json_struct=None, - preferred_provider="huggingface", + preferred_provider=None, flow_type="premium_tool", ) diff --git a/backend/api/podcast/handlers/script.py b/backend/api/podcast/handlers/script.py index 962e1767..67ad6d9a 100644 --- a/backend/api/podcast/handlers/script.py +++ b/backend/api/podcast/handlers/script.py @@ -130,7 +130,7 @@ Guidelines: prompt=prompt, user_id=user_id, json_struct=None, - preferred_provider="huggingface", + preferred_provider=None, flow_type="premium_tool", ) except HTTPException: