Skip to content

Commit 53dd0e5

Browse files
cbornetCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 079421d commit 53dd0e5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

libs/core/langchain_core/messages/tool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ def default_tool_parser(
333333
334334
Returns:
335335
A list of tool calls and invalid tool calls.
336-
.
337336
"""
338337
tool_calls = []
339338
invalid_tool_calls = []

libs/core/langchain_core/utils/mustache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def tokenize(
331331

332332

333333
def _html_escape(string: str) -> str:
334-
"""Return the HTML escaped of all of these " & < >."""
334+
"""Return the HTML-escaped string with all of these characters escaped: " & < >."""
335335
html_codes = {
336336
'"': "&quot;",
337337
"<": "&lt;",

0 commit comments

Comments
 (0)