mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Add support for aws credentials file or environment variables, and session token
This commit is contained in:
@@ -31,7 +31,7 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
|
||||
setState(message.state)
|
||||
const config = message.state?.apiConfiguration
|
||||
const hasKey = config
|
||||
? [config.apiKey, config.openRouterApiKey, config.awsAccessKey, config.vertexProjectId].some(
|
||||
? [config.apiKey, config.openRouterApiKey, config.awsRegion, config.vertexProjectId].some(
|
||||
(key) => key !== undefined
|
||||
)
|
||||
: false
|
||||
|
||||
Reference in New Issue
Block a user