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

Only instantiate SDKs when necessary #29925

Open
1 task done
ccurme opened this issue Feb 21, 2025 · 0 comments
Open
1 task done

Only instantiate SDKs when necessary #29925

ccurme opened this issue Feb 21, 2025 · 0 comments
Assignees

Comments

@ccurme
Copy link
Collaborator

ccurme commented Feb 21, 2025

Privileged issue

  • I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here.

Issue Content

We should prefer cached properties for clients (e.g., the openai sdk) to avoid excessive overhead.

E.g., BaseChatOpenAI will generate sync/async root clients + completions clients, even if a user is only interested in async completions.

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

No branches or pull requests

1 participant