The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
core: Remove extra newline (#24157)
Nuno Campos1d37aa840364
diff --git a/libs/core/langchain_core/runnables/graph_mermaid.py b/libs/core/langchain_core/runnables/graph_mermaid.pyindex 877cb10930..18988d68a2 100644--- a/libs/core/langchain_core/runnables/graph_mermaid.py+++ b/libs/core/langchain_core/runnables/graph_mermaid.py@@ -60,7 +60,7 @@ def draw_mermaid(label = node.name.split(":")[-1]if node.metadata:label = (- f"{label}<hr/>\n<small><em>"+ f"{label}<hr/><small><em>"+ "\n".join(f"{key} = {value}" for key, value in node.metadata.items())diff --git a/libs/core/tests/unit_tests/runnables/__snapshots__/test_graph.ambr b/libs/core/tests/unit_tests/runnables/__snapshots__/test_graph.ambrindex 1d097ae4fd..6ec737beba 100644--- a/libs/core/tests/unit_tests/runnables/__snapshots__/test_graph.ambr+++ b/libs/core/tests/unit_tests/runnables/__snapshots__/test_graph.ambr@@ -36,8 +36,7 @@graph TD;PromptInput([PromptInput]):::firstPromptTemplate(PromptTemplate)- FakeListLLM(FakeListLLM<hr/>- <small><em>key = 2</em></small>)+ FakeListLLM(FakeListLLM<hr/><small><em>key = 2</em></small>)CommaSeparatedListOutputParser(CommaSeparatedListOutputParser)CommaSeparatedListOutputParserOutput([CommaSeparatedListOutputParserOutput]):::lastPromptInput --> PromptTemplate;