Skip to content

Commit 9fe50a0

Browse files
balogh.adam@icloud.combalogh.adam@icloud.com
authored andcommitted
pause check
1 parent b15606e commit 9fe50a0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

server/fastapi_server.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)