From d713783d3831ec2d1324dd5b88f9db53d71c4555 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 22 Jun 2026 13:52:26 +0000 Subject: [PATCH] chore: update default API host to api.athena-risk-intelligence.com --- docs/api/options.rst | 2 +- docs/examples.rst | 2 +- examples/classify_single_example.py | 2 +- examples/example.py | 2 +- src/resolver_athena_client/client/athena_options.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/api/options.rst b/docs/api/options.rst index 1e57907..4d0ef6d 100644 --- a/docs/api/options.rst +++ b/docs/api/options.rst @@ -157,7 +157,7 @@ Environment-Based Configuration # Load from environment variables options = AthenaOptions( - host=os.getenv("ATHENA_HOST", "trust-messages-global.crispthinking.com"), + host=os.getenv("ATHENA_HOST", "api.athena-risk-intelligence.com"), deployment_id=os.getenv("ATHENA_DEPLOYMENT_ID", "default"), resize_images=os.getenv("ATHENA_RESIZE_IMAGES", "true").lower() == "true", compress_images=os.getenv("ATHENA_COMPRESS_IMAGES", "true").lower() == "true", diff --git a/docs/examples.rst b/docs/examples.rst index c9d03e3..52ab959 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -48,7 +48,7 @@ This example shows: "OAUTH_AUTH_URL", "https://crispthinking.auth0.com/oauth/token" ) audience = os.getenv("OAUTH_AUDIENCE", "crisp-athena-live") - host = os.getenv("ATHENA_HOST", "trust-messages-global.crispthinking.com") + host = os.getenv("ATHENA_HOST", "api.athena-risk-intelligence.com") # Create credential helper credential_helper = CredentialHelper( diff --git a/examples/classify_single_example.py b/examples/classify_single_example.py index 7ed92e7..7349aab 100755 --- a/examples/classify_single_example.py +++ b/examples/classify_single_example.py @@ -202,7 +202,7 @@ async def main() -> int: logger.error("OAUTH_CLIENT_ID and OAUTH_CLIENT_SECRET must be set") return 1 - host = os.getenv("ATHENA_HOST", "trust-messages-global.crispthinking.com") + host = os.getenv("ATHENA_HOST", "api.athena-risk-intelligence.com") logger.info("Connecting to %s", host) # Create credential helper diff --git a/examples/example.py b/examples/example.py index a9a3e50..dddc9d9 100755 --- a/examples/example.py +++ b/examples/example.py @@ -151,7 +151,7 @@ async def main() -> int: logger.error("OAUTH_CLIENT_ID and OAUTH_CLIENT_SECRET must be set") return 1 - host = os.getenv("ATHENA_HOST", "trust-messages-global.crispthinking.com") + host = os.getenv("ATHENA_HOST", "api.athena-risk-intelligence.com") affiliate = os.getenv("ATHENA_AFFILIATE", "athena-test") logger.info("Connecting to %s", host) diff --git a/src/resolver_athena_client/client/athena_options.py b/src/resolver_athena_client/client/athena_options.py index 7902223..6bc58dd 100644 --- a/src/resolver_athena_client/client/athena_options.py +++ b/src/resolver_athena_client/client/athena_options.py @@ -21,7 +21,7 @@ class AthenaOptions: Attributes ---------- host: The hostname of the Athena service to connect to. - Defaults to "localhost". + Defaults to "api.athena-risk-intelligence.com". resize_images: Whether to automatically resize images before sending. When True, images will be resized to the optimal size for the model. Defaults to True. @@ -59,7 +59,7 @@ class AthenaOptions: """ - host: str = "localhost" + host: str = "api.athena-risk-intelligence.com" resize_images: bool = True compress_images: bool = True deployment_id: str = "default"