Skip to content

Commit c35fc47

Browse files
committed
add some debug info
1 parent 0d6d3fd commit c35fc47

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
@@ -38,7 +38,8 @@ async def llm(self) -> BedrockLLM:
3838
region_name="us-east-1"
3939
)
4040
if not os.environ.get("AWS_BEARER_TOKEN_BEDROCK"):
41-
raise Exception("Please set 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)}")
4243

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

0 commit comments

Comments
 (0)