mirror of
https://github.com/Shubhamsaboo/awesome-llm-apps.git
synced 2026-05-27 22:40:21 +00:00
fix: add missing state field to check_business_registration exception return
This commit is contained in:
+1
-1
@@ -743,7 +743,7 @@ def check_business_registration(name: str, state: str = "IL") -> str:
|
||||
"note": "IL SOS API unreachable. Manual lookup: https://apps.ilsos.gov/corporatellc/",
|
||||
})
|
||||
except Exception as exc:
|
||||
return json.dumps({"status": "error", "query": name, "error": str(exc)})
|
||||
return json.dumps({"status": "error", "query": name, "state": state_key, "error": str(exc)})
|
||||
|
||||
|
||||
# ── Streamlit App ─────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user