From 5a29758f03c253302e429f9a3a31e01e719f81ca Mon Sep 17 00:00:00 2001 From: Asia <2736300+humpydonkey@users.noreply.github.com> Date: Mon, 20 May 2024 17:37:35 -0700 Subject: [PATCH] Switch to staging endpoint for better API availability (#91) Switch to staging endpoint --- 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 b87689c4..f4555f84 100644 --- a/vision_agent/tools/tool_utils.py +++ b/vision_agent/tools/tool_utils.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) _LND_API_KEY = LandingaiAPIKey().api_key -_LND_API_URL = "https://api.dev.landing.ai/v1/agent" +_LND_API_URL = "https://api.staging.landing.ai/v1/agent" def _send_inference_request( diff --git a/vision_agent/utils/type_defs.py b/vision_agent/utils/type_defs.py index 4f37e558..0b54c08d 100644 --- a/vision_agent/utils/type_defs.py +++ b/vision_agent/utils/type_defs.py @@ -12,7 +12,7 @@ class LandingaiAPIKey(BaseSettings): """ api_key: str = Field( - default="land_sk_PCRPYKqB3cq0JWGY83hjEk33SWSDOwdNoyUjTgCDMZO4NxeCXW", + default="land_sk_IJrojHarPXRjqDj1Fng76mX7yCbzVm1s5rZYxaNXu5v0cNLn0w", alias="LANDINGAI_API_KEY", description="The API key of LandingAI.", )