Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion examples/classify_single_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions src/resolver_athena_client/client/athena_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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"
Expand Down
Loading