Skip to content

Commit 68947bb

Browse files
authored
fix(ai-client): use ai.opentrons.com (#17061)
1 parent 851e8ba commit 68947bb

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

opentrons-ai-client/src/resources/constants.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ export const STAGING_CREATE_PROTOCOL_END_POINT =
88
export const STAGING_UPDATE_PROTOCOL_END_POINT =
99
'https://staging.opentrons.ai/api/chat/updateProtocol'
1010

11-
export const PROD_END_POINT = 'https://opentrons.ai/api/chat/completion'
12-
export const PROD_FEEDBACK_END_POINT = 'https://opentrons.ai/api/chat/feedback'
11+
export const PROD_END_POINT = 'https://ai.opentrons.com/api/chat/completion'
12+
export const PROD_FEEDBACK_END_POINT =
13+
'https://ai.opentrons.com/api/chat/feedback'
1314
export const PROD_CREATE_PROTOCOL_END_POINT =
14-
'https://opentrons.ai/api/chat/createProtocol'
15+
'https://ai.opentrons.com/api/chat/createProtocol'
1516
export const PROD_UPDATE_PROTOCOL_END_POINT =
16-
'https://opentrons.ai/api/chat/updateProtocol'
17+
'https://ai.opentrons.com/api/chat/updateProtocol'
1718

1819
// auth0 domain
1920
export const AUTH0_DOMAIN = 'identity.auth.opentrons.com'
@@ -24,7 +25,7 @@ export const STAGING_AUTH0_AUDIENCE = 'https://staging.opentrons.ai/api'
2425

2526
// auth0 for production
2627
export const PROD_AUTH0_CLIENT_ID = 'b5oTRmfMY94tjYL8GyUaVYHhMTC28X8o'
27-
export const PROD_AUTH0_AUDIENCE = 'https://opentrons.ai/api'
28+
export const PROD_AUTH0_AUDIENCE = 'https://ai.opentrons.com/api'
2829

2930
// auth0 for local
3031
export const LOCAL_AUTH0_CLIENT_ID = 'PcuD1wEutfijyglNeRBi41oxsKJ1HtKw'

opentrons-ai-server/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ The Opentrons AI server is a FastAPI server that handles complex tasks like runn
99
Currently we have 2 environments: `staging` and `prod`.
1010

1111
- staging: <https://staging.opentrons.ai>
12-
- prod: <https://opentrons.ai>
13-
14-
If your browser blocks cross site cookies, use <https://ai.opentrons.com> instead.
12+
- prod: <https://ai.opentrons.com>
1513

1614
### Environment Variables and Secrets
1715

0 commit comments

Comments
 (0)