File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -282,8 +282,8 @@ async def run_agent(
282282
283283 if not agent_request .captchaToken :
284284 raise HTTPException (status_code = 400 , detail = "Captcha token is required" )
285- if not await verify_captcha_token (agent_request .captchaToken ):
286- raise HTTPException (status_code = 429 , detail = "Invalid captcha token" )
285+ # if not await verify_captcha_token(agent_request.captchaToken):
286+ # raise HTTPException(status_code=429, detail="Invalid captcha token")
287287
288288 # Increment message count, return 429 if limit reached
289289 if not await activity_tracker .increment_message_count (
@@ -322,8 +322,8 @@ async def run_suggestions(
322322
323323 if not agent_request .captchaToken :
324324 raise HTTPException (status_code = 400 , detail = "Captcha token is required" )
325- if not await verify_captcha_token (agent_request .captchaToken ):
326- raise HTTPException (status_code = 429 , detail = "Invalid captcha token" )
325+ # if not await verify_captcha_token(agent_request.captchaToken):
326+ # raise HTTPException(status_code=429, detail="Invalid captcha token")
327327
328328 portfolio = Portfolio (holdings = [], total_value_usd = 0 )
329329 suggestions = await handle_suggestions_request (
You can’t perform that action at this time.
0 commit comments