Inconsistent Message ID Formats with LangGraph and LangChain Integration
I'm using openinference-instrumentation-langchain==0.1.51 with LangGraph and running into message ID format issues that seem inconsistent. When my LangGraph creates messages with different ID formats, I get different errors from the instrumentation: 1. When I set message id as an empty list []: I get "IndexError: list index out of range" 2. When I set it as a list with a string ["user_msg"]: I get "AttributeError: 'list' object has no attribute 'startswith'" 3. When I set it as just a string "user_msg": I get "AssertionError: expected list, found <class 'str'>" It seems like the instrumentation code expects the ID to be a list in some places but then tries to call string methods on it in other places. Is there a correct message ID format for LangGraph integration? Or is this a known compatibility issue between the LangChain instrumentation and LangGraph?
