From 609b71f95c7aab661b3c8ef0698219d3106f2f16 Mon Sep 17 00:00:00 2001 From: Asia <2736300+humpydonkey@users.noreply.github.com> Date: Sat, 27 Jul 2024 09:33:46 +0800 Subject: [PATCH] Switch to prod tool endpoint (#179) * Switch to prod tool endpoint Switch the tool endpoint to the production endpoint * Update type_defs.py --- vision_agent/tools/tool_utils.py | 2 +- vision_agent/utils/type_defs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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): 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.", )