Skip to content

Commit

Permalink
Switch to staging endpoint for better API availability (#91)
Browse files Browse the repository at this point in the history
Switch to staging endpoint
  • Loading branch information
humpydonkey authored May 21, 2024
1 parent 21849f4 commit 5a29758
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vision_agent/tools/tool_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion vision_agent/utils/type_defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
)
Expand Down

0 comments on commit 5a29758

Please sign in to comment.