-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(opentrons-ai-client): add process env to ai-client for prod (#15329
- Loading branch information
Showing
7 changed files
with
45 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
// ToDo (kk:05/29/2024) this should be switched by env var | ||
export const END_POINT = 'https://staging.opentrons.ai/api/chat/completion' | ||
export const STAGING_END_POINT = | ||
'https://staging.opentrons.ai/api/chat/completion' | ||
export const PROD_END_POINT = 'https://opentrons.ai/api/chat/completion' | ||
|
||
// for auth0 | ||
// auth0 domain | ||
export const AUTH0_DOMAIN = 'identity.auth.opentrons.com' | ||
export const AUTH0_CLIENT_ID = 'AV3GDND34Q9CHx9yjZSI85k8ZuvzWH4a' | ||
export const AUTH0_AUDIENCE = 'https://staging.opentrons.ai/api' | ||
|
||
// auth0 for staging | ||
export const STAGING_AUTH0_CLIENT_ID = 'AV3GDND34Q9CHx9yjZSI85k8ZuvzWH4a' | ||
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters