fix(bedrock): improve AWS credential handling and add model definitions
- Change error to warning when AWS credentials are missing in environment - Allow fallback to system configuration (aws config files or instance profiles) - Remove hardcoded region and profile parameters in Bedrock client - Add Claude 3.7 Sonnet and DeepSeek R1 model definitions for Bedrock - Update config manager to properly handle Bedrock provider
This commit is contained in:
committed by
Ralph Khreish
parent
3a2325a963
commit
9d431b4b03
@@ -496,7 +496,10 @@ function getParametersForRole(role, explicitRoot = null) {
|
||||
*/
|
||||
function isApiKeySet(providerName, session = null, projectRoot = null) {
|
||||
// Define the expected environment variable name for each provider
|
||||
if (providerName?.toLowerCase() === 'ollama') {
|
||||
|
||||
const okKeys = ['ollama', 'bedrock'];
|
||||
|
||||
if (okKeys.includes(providerName?.toLowerCase())) {
|
||||
return true; // Indicate key status is effectively "OK"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user