mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-25 09:02:25 +02:00
Adds ls_integration metadata to agents created via langgraph: `ls_integration:langgraph` Only sets the value if the key doesn't already exist so that we don't override the `ls_integration` field set in [deepagents](https://github.com/langchain-ai/deepagents/pull/1837), [langchain](https://github.com/langchain-ai/langchain/pull/35810). LangGraph trace <img width="1321" height="1017" alt="image" src="https://github.com/user-attachments/assets/134fad3a-034d-4d90-8fba-318dd7658e3c" /> Deepagents trace (value is correctly not set to langgraph in this case) <img width="1317" height="882" alt="image" src="https://github.com/user-attachments/assets/d9b09346-5827-4267-95c1-f3f77d0c76f3" />