### Type of issue other ### Language Python ### Description Sync these changes https://github.com/langchain-ai/langchain/pull/32749 @karwandevishal