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