From 2d8a7d5cfbe77e73fac32942eaee3ab5f3d9339c Mon Sep 17 00:00:00 2001 From: imnyang Date: Sun, 15 Jun 2025 03:14:51 +0900 Subject: [PATCH] =?UTF-8?q?[Enhancement]=20LMNR=20=EC=B4=88=EA=B8=B0?= =?UTF-8?q?=ED=99=94=20=EB=A1=9C=EC=A7=81=20=EA=B0=84=EC=86=8C=ED=99=94:?= =?UTF-8?q?=20BASEURL=20=EB=B0=8F=20=ED=8F=AC=ED=8A=B8=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/main.py b/main.py index 5588c9e..7d6d01b 100644 --- a/main.py +++ b/main.py @@ -40,18 +40,10 @@ if os.getenv("GOOGLE_PLANNER_MODEL") is None: backend_url = os.getenv("BACKEND_URL", "http://localhost:11081") -if os.getenv("LMNR_PROJECT_API_KEY") and os.getenv("LMNR_BASEURL"): +if os.getenv("LMNR_PROJECT_API_KEY"): from lmnr import Laminar - # this line auto-instruments Browser Use and any browser you use (local or remote) - if os.getenv("LMNR_HTTP_PORT") and os.getenv("LMNR_GRPC_PORT"): - Laminar.initialize( - project_api_key=os.getenv("LMNR_PROJECT_API_KEY"), - base_url=os.getenv("LMNR_BASEURL"), - http_port=int(os.getenv("LMNR_HTTP_PORT", "0")), - grpc_port=int(os.getenv("LMNR_GRPC_PORT", "0")) - ) - else: - Laminar.initialize(project_api_key=os.getenv("LMNR_PROJECT_API_KEY"), base_url=os.getenv("LMNR_BASEURL")) # you can also pass project api key here + + Laminar.initialize(project_api_key=os.getenv("LMNR_PROJECT_API_KEY")) print("🔧 환경 설정:") try: