Skip to content

Commit 0b93a07

Browse files
authored
chore: update default API host to api.athena-risk-intelligence.com (#134)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 358aa90 commit 0b93a07

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/api/options.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Environment-Based Configuration
157157
158158
# Load from environment variables
159159
options = AthenaOptions(
160-
host=os.getenv("ATHENA_HOST", "trust-messages-global.crispthinking.com"),
160+
host=os.getenv("ATHENA_HOST", "api.athena-risk-intelligence.com"),
161161
deployment_id=os.getenv("ATHENA_DEPLOYMENT_ID", "default"),
162162
resize_images=os.getenv("ATHENA_RESIZE_IMAGES", "true").lower() == "true",
163163
compress_images=os.getenv("ATHENA_COMPRESS_IMAGES", "true").lower() == "true",

docs/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ This example shows:
4848
"OAUTH_AUTH_URL", "https://crispthinking.auth0.com/oauth/token"
4949
)
5050
audience = os.getenv("OAUTH_AUDIENCE", "crisp-athena-live")
51-
host = os.getenv("ATHENA_HOST", "trust-messages-global.crispthinking.com")
51+
host = os.getenv("ATHENA_HOST", "api.athena-risk-intelligence.com")
5252
5353
# Create credential helper
5454
credential_helper = CredentialHelper(

examples/classify_single_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ async def main() -> int:
202202
logger.error("OAUTH_CLIENT_ID and OAUTH_CLIENT_SECRET must be set")
203203
return 1
204204

205-
host = os.getenv("ATHENA_HOST", "trust-messages-global.crispthinking.com")
205+
host = os.getenv("ATHENA_HOST", "api.athena-risk-intelligence.com")
206206
logger.info("Connecting to %s", host)
207207

208208
# Create credential helper

examples/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ async def main() -> int:
151151
logger.error("OAUTH_CLIENT_ID and OAUTH_CLIENT_SECRET must be set")
152152
return 1
153153

154-
host = os.getenv("ATHENA_HOST", "trust-messages-global.crispthinking.com")
154+
host = os.getenv("ATHENA_HOST", "api.athena-risk-intelligence.com")
155155
affiliate = os.getenv("ATHENA_AFFILIATE", "athena-test")
156156
logger.info("Connecting to %s", host)
157157

src/resolver_athena_client/client/athena_options.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class AthenaOptions:
2121
Attributes
2222
----------
2323
host: The hostname of the Athena service to connect to.
24-
Defaults to "localhost".
24+
Defaults to "api.athena-risk-intelligence.com".
2525
resize_images: Whether to automatically resize images before sending.
2626
When True, images will be resized to the optimal size for the model.
2727
Defaults to True.
@@ -59,7 +59,7 @@ class AthenaOptions:
5959
6060
"""
6161

62-
host: str = "localhost"
62+
host: str = "api.athena-risk-intelligence.com"
6363
resize_images: bool = True
6464
compress_images: bool = True
6565
deployment_id: str = "default"

0 commit comments

Comments
 (0)