Sdm0 commited on
Commit
107d232
Β·
verified Β·
1 Parent(s): f5754fd

Deploy f42193a7

Browse files
Files changed (1) hide show
  1. backend/app.py +1 -1
backend/app.py CHANGED
@@ -90,7 +90,7 @@ AUTO_ENDPOINT_CHOICE = "Auto (Gemini β†’ Groq fallback)"
90
 
91
 
92
  def _normalize_endpoint_name(endpoint_name: str | None) -> str:
93
- return "" if endpoint_name == AUTO_ENDPOINT_CHOICE else (endpoint_name or "")
94
 
95
 
96
  # ─── Orchestration ───────────────────────────────────────────────────────────
 
90
 
91
 
92
  def _normalize_endpoint_name(endpoint_name: str | None) -> str:
93
+ return "" if endpoint_name == AUTO_ENDPOINT_CHOICE or (endpoint_name or "").strip().lower() == "auto" else (endpoint_name or "")
94
 
95
 
96
  # ─── Orchestration ───────────────────────────────────────────────────────────