mirror of
https://github.com/hwchase17/langchain.git
synced 2026-07-11 18:18:51 +00:00
An async callable openai_api_key means the sync client cannot be built, so sync entry points (invoke/stream) will fail at runtime with a ValueError. Surface this constraint immediately at model construction time via a UserWarning so callers don't first discover it on a runtime invocation.
FAQ
Looking for an integration not listed here? Check out the integrations documentation and the note in the libs/ README about third-party maintained packages.
Integration docs
For full documentation, see the primary and API reference docs for integrations.