Skip to content

Commit 4beadc2

Browse files
chore: Fixup Athena Host Default Values
1 parent 28f4460 commit 4beadc2

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ repository, or in your shell environment:
139139

140140
You must set the following variables:
141141
```
142-
ATHENA_HOST=your-athena-host (e.g. myathenahost.com)
142+
ATHENA_HOST=your-athena-host (e.g. localhost:5001)
143143
ATHENA_TEST_AFFILIATE=your-affiliate-id
144144
OAUTH_CLIENT_ID=your-oauth-client-id
145145
OAUTH_CLIENT_SECRET=your-oauth-client-secret

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", "localhost:50051"),
160+
host=os.getenv("ATHENA_HOST", "trust-messages-global.crispthinking.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", "localhost")
51+
host = os.getenv("ATHENA_HOST", "trust-messages-global.crispthinking.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
@@ -203,7 +203,7 @@ async def main() -> int:
203203
logger.error("OAUTH_CLIENT_ID and OAUTH_CLIENT_SECRET must be set")
204204
return 1
205205

206-
host = os.getenv("ATHENA_HOST", "localhost")
206+
host = os.getenv("ATHENA_HOST", "trust-messages-global.crispthinking.com")
207207
logger.info("Connecting to %s", host)
208208

209209
# Create credential helper

examples/example.py

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

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

0 commit comments

Comments
 (0)