mirror of
https://github.com/hwchase17/langchain.git
synced 2025-10-11 13:03:25 +00:00
- Convert developer openai messages to SystemMessage - store additional_kwargs={"__openai_role__": "developer"} so that the correct role can be reconstructed if needed - update ChatOpenAI to read in openai_role --------- Co-authored-by: Erick Friis <erick@langchain.dev>