From c10fbc2360b5d72ca8e4c863c7af0feedfc00b77 Mon Sep 17 00:00:00 2001 From: henry yo Date: Mon, 16 Mar 2026 02:33:51 +0800 Subject: [PATCH] feat: linebot change async --- app/invoice_fetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/invoice_fetcher.py b/app/invoice_fetcher.py index 998adb4..93bccc4 100755 --- a/app/invoice_fetcher.py +++ b/app/invoice_fetcher.py @@ -52,7 +52,7 @@ Base = declarative_base() # note = Column(String, nullable=True) # created_at = Column(DateTime, default=datetime.now) -def solve_captcha(img_b64: str) -> str: +async def solve_captcha(img_b64: str) -> str: # client = anthropic.Anthropic(api_key=ANTHROPIC_API_KEY) # 改用groq