Somrat Sorkar commited on
Commit
3d2dc6a
·
1 Parent(s): 864ac02

Remove invalid requireAuth config

Browse files
Files changed (1) hide show
  1. start.sh +0 -2
start.sh CHANGED
@@ -155,8 +155,6 @@ CONFIG_JSON=$(echo "$CONFIG_JSON" | jq ".agents.defaults.model = \"$LLM_MODEL\""
155
  # Control UI origin (allow HF Space URL for web UI access)
156
  if [ -n "$SPACE_HOST" ]; then
157
  CONFIG_JSON=$(echo "$CONFIG_JSON" | jq ".gateway.controlUi.allowedOrigins = [\"https://${SPACE_HOST}\"]")
158
- # For HF Spaces: require token in query param or localStorage, but don't require explicit pairing
159
- CONFIG_JSON=$(echo "$CONFIG_JSON" | jq ".gateway.controlUi.requireAuth = false")
160
  fi
161
 
162
  # Telegram (supports multiple user IDs, comma-separated)
 
155
  # Control UI origin (allow HF Space URL for web UI access)
156
  if [ -n "$SPACE_HOST" ]; then
157
  CONFIG_JSON=$(echo "$CONFIG_JSON" | jq ".gateway.controlUi.allowedOrigins = [\"https://${SPACE_HOST}\"]")
 
 
158
  fi
159
 
160
  # Telegram (supports multiple user IDs, comma-separated)