Fix bedrock llm boto3 client instantiation (#5629)

Same issue as https://github.com/hwchase17/langchain/pull/5574
searx_updates
Sean Morgan 12 months ago committed by GitHub
parent c5a7a85a4e
commit 949729ff5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -101,7 +101,7 @@ class Bedrock(LLM):
"""Validate that AWS credentials to and python package exists in environment."""
# Skip creating new client if passed in constructor
if "client" in values:
if values["client"] is not None:
return values
try:

Loading…
Cancel
Save