We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c35fc47 commit 6893968Copy full SHA for 6893968
plugins/aws/tests/test_aws.py
@@ -39,7 +39,8 @@ async def llm(self) -> BedrockLLM:
39
)
40
if not os.environ.get("AWS_BEARER_TOKEN_BEDROCK"):
41
token = os.environ.get("AWS_BEARER_TOKEN_BEDROCK")
42
- raise Exception(f"Please set AWS_BEARER_TOKEN_BEDROCK {len(token)}, {type(token)}")
+ other = os.environ.get("ANTHROPIC_API_KEY")
43
+ raise Exception(f"Please set AWS_BEARER_TOKEN_BEDROCK {len(token)}, {type(token)}. {len(other)}, {type(other)}")
44
45
llm._conversation = InMemoryConversation("be friendly", [])
46
return llm
0 commit comments