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
This commit is contained in:
ajaysi
2026-04-01 06:55:31 +05:30
parent 746a5eeeb9
commit c52b1eabc9
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ Requirements:
prompt=prompt, prompt=prompt,
user_id=user_id, user_id=user_id,
json_struct=None, json_struct=None,
preferred_provider="huggingface", preferred_provider=None,
flow_type="premium_tool", flow_type="premium_tool",
) )

View File

@@ -130,7 +130,7 @@ Guidelines:
prompt=prompt, prompt=prompt,
user_id=user_id, user_id=user_id,
json_struct=None, json_struct=None,
preferred_provider="huggingface", preferred_provider=None,
flow_type="premium_tool", flow_type="premium_tool",
) )
except HTTPException: except HTTPException: