- {!settings?.credentialsOnly && (
+ {!settings?.credentialsOnly && connectionMethod !== "apiKey" && (
@@ -21,6 +20,7 @@ export default function AwsBedrockLLMOptions({ settings }) {
href="https://docs.anythingllm.com/setup/llm-configuration/cloud/aws-bedrock"
target="_blank"
className="underline flex gap-x-1 items-center"
+ rel="noreferrer"
>
Read more on how to use AWS Bedrock in AnythingLLM
@@ -38,7 +38,7 @@ export default function AwsBedrockLLMOptions({ settings }) {
/>
Select the method to authenticate with AWS Bedrock.
@@ -56,6 +56,7 @@ export default function AwsBedrockLLMOptions({ settings }) {
Session Token (Temporary Credentials)
+
@@ -117,6 +118,23 @@ export default function AwsBedrockLLMOptions({ settings }) {
/>
)}
+ {connectionMethod === "apiKey" && (
+
+
+
+
+ )}