Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skips creating boto client for Bedrock if passed in constructor #5523

Merged
merged 1 commit into from May 31, 2023

Conversation

3coins
Copy link
Contributor

@3coins 3coins commented May 31, 2023

Skips creating boto client if passed in constructor

Current LLM and Embeddings class always creates a new boto client, even if one is passed in a constructor. This blocks certain users from passing in externally created boto clients, for example in SSO authentication.

Who can review?

@hwchase17
@jasondotparse
@rsgrewal-aws

@hwchase17 hwchase17 merged commit 5ffa924 into langchain-ai:master May 31, 2023
12 checks passed
dev2049 pushed a commit that referenced this pull request Jun 1, 2023
#5523 has a small bug if
client was not passed in constructor
@danielchalef danielchalef mentioned this pull request Jun 5, 2023
Undertone0809 pushed a commit to Undertone0809/langchain that referenced this pull request Jun 19, 2023
…chain-ai#5523)

# Skips creating boto client if passed in constructor
Current LLM and Embeddings class always creates a new boto client, even
if one is passed in a constructor. This blocks certain users from
passing in externally created boto clients, for example in SSO
authentication.

## Who can review?
@hwchase17 
@jasondotparse 
@rsgrewal-aws

<!-- For a quicker response, figure out the right person to tag with @

  @hwchase17 - project lead

  Tracing / Callbacks
  - @agola11

  Async
  - @agola11

  DataLoaders
  - @eyurtsev

  Models
  - @hwchase17
  - @agola11

  Agents / Tools / Toolkits
  - @vowelparrot

  VectorStores / Retrievers / Memory
  - @dev2049

 -->
Undertone0809 pushed a commit to Undertone0809/langchain that referenced this pull request Jun 19, 2023
langchain-ai#5523 has a small bug if
client was not passed in constructor
This was referenced Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants