Skip to content

Commit 6893968

Browse files
committed
more debugging
1 parent c35fc47 commit 6893968

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/aws/tests/test_aws.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ async def llm(self) -> BedrockLLM:
3939
)
4040
if not os.environ.get("AWS_BEARER_TOKEN_BEDROCK"):
4141
token = os.environ.get("AWS_BEARER_TOKEN_BEDROCK")
42-
raise Exception(f"Please set AWS_BEARER_TOKEN_BEDROCK {len(token)}, {type(token)}")
42+
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)}")
4344

4445
llm._conversation = InMemoryConversation("be friendly", [])
4546
return llm

0 commit comments

Comments
 (0)