From ef0bed7016e016bf8d41f50c3c7e0be71dbc57cf Mon Sep 17 00:00:00 2001 From: yuye-aws Date: Tue, 16 Jul 2024 16:32:53 +0800 Subject: [PATCH] add bedrock runtime agent for knowledge base Signed-off-by: yuye-aws --- .../java/org/opensearch/ml/settings/MLCommonsSettings.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/src/main/java/org/opensearch/ml/settings/MLCommonsSettings.java b/plugin/src/main/java/org/opensearch/ml/settings/MLCommonsSettings.java index 1e7a569a09..1db559ed80 100644 --- a/plugin/src/main/java/org/opensearch/ml/settings/MLCommonsSettings.java +++ b/plugin/src/main/java/org/opensearch/ml/settings/MLCommonsSettings.java @@ -144,7 +144,8 @@ private MLCommonsSettings() {} "^https://runtime\\.sagemaker\\..*[a-z0-9-]\\.amazonaws\\.com/.*$", "^https://api\\.openai\\.com/.*$", "^https://api\\.cohere\\.ai/.*$", - "^https://bedrock-runtime\\..*[a-z0-9-]\\.amazonaws\\.com/.*$" + "^https://bedrock-runtime\\..*[a-z0-9-]\\.amazonaws\\.com/.*$", + "^https://bedrock-agent-runtime\\..*[a-z0-9-]\\.amazonaws\\.com/.*$" ), Function.identity(), Setting.Property.NodeScope,