Skip to content

Commit

Permalink
fix(ai-client): use ai.opentrons.com (#17061)
Browse files Browse the repository at this point in the history
  • Loading branch information
y3rsh authored Dec 6, 2024
1 parent 851e8ba commit 68947bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
11 changes: 6 additions & 5 deletions opentrons-ai-client/src/resources/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ export const STAGING_CREATE_PROTOCOL_END_POINT =
export const STAGING_UPDATE_PROTOCOL_END_POINT =
'https://staging.opentrons.ai/api/chat/updateProtocol'

export const PROD_END_POINT = 'https://opentrons.ai/api/chat/completion'
export const PROD_FEEDBACK_END_POINT = 'https://opentrons.ai/api/chat/feedback'
export const PROD_END_POINT = 'https://ai.opentrons.com/api/chat/completion'
export const PROD_FEEDBACK_END_POINT =
'https://ai.opentrons.com/api/chat/feedback'
export const PROD_CREATE_PROTOCOL_END_POINT =
'https://opentrons.ai/api/chat/createProtocol'
'https://ai.opentrons.com/api/chat/createProtocol'
export const PROD_UPDATE_PROTOCOL_END_POINT =
'https://opentrons.ai/api/chat/updateProtocol'
'https://ai.opentrons.com/api/chat/updateProtocol'

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

// auth0 for production
export const PROD_AUTH0_CLIENT_ID = 'b5oTRmfMY94tjYL8GyUaVYHhMTC28X8o'
export const PROD_AUTH0_AUDIENCE = 'https://opentrons.ai/api'
export const PROD_AUTH0_AUDIENCE = 'https://ai.opentrons.com/api'

// auth0 for local
export const LOCAL_AUTH0_CLIENT_ID = 'PcuD1wEutfijyglNeRBi41oxsKJ1HtKw'
Expand Down
4 changes: 1 addition & 3 deletions opentrons-ai-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ The Opentrons AI server is a FastAPI server that handles complex tasks like runn
Currently we have 2 environments: `staging` and `prod`.

- staging: <https://staging.opentrons.ai>
- prod: <https://opentrons.ai>

If your browser blocks cross site cookies, use <https://ai.opentrons.com> instead.
- prod: <https://ai.opentrons.com>

### Environment Variables and Secrets

Expand Down

0 comments on commit 68947bb

Please sign in to comment.