Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core[patch]: wrap mermaid node names w/ markdown in <p> tag #26235

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

vbarda
Copy link
Contributor

@vbarda vbarda commented Sep 9, 2024

This fixes the issue where __start__ and __end__ node labels are being interpreted as markdown, as of the most recent Mermaid update

Copy link

vercel bot commented Sep 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Sep 9, 2024 7:45pm

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Sep 9, 2024
@vbarda vbarda requested a review from nfcampos September 9, 2024 19:46
@dosubot dosubot bot added Ɑ: core Related to langchain-core 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Sep 9, 2024
@@ -1040,7 +1040,7 @@
PromptTemplate(PromptTemplate)
FakeListLLM(FakeListLLM)
Parallel_as_list_as_str_Input(Parallel<as_list,as_str>Input)
Parallel_as_list_as_str_Output([Parallel_as_list_as_str_Output]):::last
Parallel_as_list_as_str_Output([Parallel<as_list,as_str>Output]):::last
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this one changing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cause we used to do use key as display name for the last node, and we apply _escape_node_label on the key, but now since we're passing value explicitly, it's no longer escaped (which i think is actually better)

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Sep 10, 2024
@vbarda vbarda merged commit bab9de5 into master Sep 10, 2024
88 checks passed
@vbarda vbarda deleted the vb/update-mermaid branch September 10, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature Ɑ: core Related to langchain-core lgtm PR looks good. Use to confirm that a PR is ready for merging. size:S This PR changes 10-29 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants