core: Remove extra newline (#24157)

This commit is contained in:
Nuno Campos 2024-07-11 16:55:36 -07:00 committed by GitHub
parent cb95198398
commit 1d37aa8403
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -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()
)

View File

@ -36,8 +36,7 @@
graph TD;
PromptInput([PromptInput]):::first
PromptTemplate(PromptTemplate)
FakeListLLM(FakeListLLM<hr/>
<small><em>key = 2</em></small>)
FakeListLLM(FakeListLLM<hr/><small><em>key = 2</em></small>)
CommaSeparatedListOutputParser(CommaSeparatedListOutputParser)
CommaSeparatedListOutputParserOutput([CommaSeparatedListOutputParserOutput]):::last
PromptInput --> PromptTemplate;