From 0895ca0f5962818cd30d569e1b83cefd934cc742 Mon Sep 17 00:00:00 2001 From: Asia <2736300+humpydonkey@users.noreply.github.com> Date: Fri, 26 Jul 2024 09:08:32 +0800 Subject: [PATCH 1/2] Switch to prod tool endpoint Switch the tool endpoint to the production endpoint --- vision_agent/tools/tool_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vision_agent/tools/tool_utils.py b/vision_agent/tools/tool_utils.py index c65019fb..452d7f76 100644 --- a/vision_agent/tools/tool_utils.py +++ b/vision_agent/tools/tool_utils.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) _LND_API_KEY = LandingaiAPIKey().api_key -_LND_API_URL = "https://api.staging.landing.ai/v1/agent" +_LND_API_URL = "https://api.landing.ai/v1/agent" class ToolCallTrace(BaseModel): From 24bd624d63b264aaccdc45a1b7c3896784608979 Mon Sep 17 00:00:00 2001 From: Asia <2736300+humpydonkey@users.noreply.github.com> Date: Fri, 26 Jul 2024 09:27:30 +0800 Subject: [PATCH 2/2] Update type_defs.py --- vision_agent/utils/type_defs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vision_agent/utils/type_defs.py b/vision_agent/utils/type_defs.py index d296a7ed..a9398ee5 100644 --- a/vision_agent/utils/type_defs.py +++ b/vision_agent/utils/type_defs.py @@ -14,7 +14,7 @@ class LandingaiAPIKey(BaseSettings): """ api_key: str = Field( - default="land_sk_IJrojHarPXRjqDj1Fng76mX7yCbzVm1s5rZYxaNXu5v0cNLn0w", + default="land_sk_fnmSzD0ksknSfvhyD8UGu9R4ss3bKfLL1Im5gb6tDQTy2z1Oy5", alias="LANDINGAI_API_KEY", description="The API key of LandingAI.", )