Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: embedding job fails using IAM role (#5252)
Masashi Tomookad9bee03ff694
diff --git a/api/core/model_runtime/model_providers/bedrock/bedrock.yaml b/api/core/model_runtime/model_providers/bedrock/bedrock.yamlindex 88ec712bdf2..aa364fb63f7 100644--- a/api/core/model_runtime/model_providers/bedrock/bedrock.yaml+++ b/api/core/model_runtime/model_providers/bedrock/bedrock.yaml@@ -23,7 +23,7 @@ provider_credential_schema:- variable: aws_access_key_idrequired: falselabel:- en_US: Access Key (If not provided, credentials are obtained from your running environment. e.g. IAM role)+ en_US: Access Key (If not provided, credentials are obtained from the running environment.)zh_Hans: Access Keytype: secret-inputplaceholder:diff --git a/api/core/model_runtime/model_providers/bedrock/text_embedding/text_embedding.py b/api/core/model_runtime/model_providers/bedrock/text_embedding/text_embedding.pyindex 84b23d4a271..35b1a8f389a 100644--- a/api/core/model_runtime/model_providers/bedrock/text_embedding/text_embedding.py+++ b/api/core/model_runtime/model_providers/bedrock/text_embedding/text_embedding.py@@ -49,8 +49,8 @@ class BedrockTextEmbeddingModel(TextEmbeddingModel):bedrock_runtime = boto3.client(service_name='bedrock-runtime',config=client_config,- aws_access_key_id=credentials["aws_access_key_id"],- aws_secret_access_key=credentials["aws_secret_access_key"]+ aws_access_key_id=credentials.get("aws_access_key_id", None),+ aws_secret_access_key=credentials.get("aws_secret_access_key", None))embeddings = []