Skip to content

Commit

Permalink
change import position
Browse files Browse the repository at this point in the history
  • Loading branch information
Lycnkd committed Dec 25, 2024
1 parent 44edb56 commit 5da0dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/core/langchain_core/messages/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

from langchain_core.messages.base import BaseMessage, BaseMessageChunk, merge_content
from langchain_core.utils._merge import merge_dicts, merge_obj
import re


class ToolOutputMixin:

Check failure on line 13 in libs/core/langchain_core/messages/tool.py

View workflow job for this annotation

GitHub Actions / cd libs/core / make lint #3.11

Ruff (I001)

langchain_core/messages/tool.py:1:1: I001 Import block is un-sorted or un-formatted

Check failure on line 13 in libs/core/langchain_core/messages/tool.py

View workflow job for this annotation

GitHub Actions / cd libs/core / make lint #3.12

Ruff (I001)

langchain_core/messages/tool.py:1:1: I001 Import block is un-sorted or un-formatted

Check failure on line 13 in libs/core/langchain_core/messages/tool.py

View workflow job for this annotation

GitHub Actions / cd libs/core / make lint #3.10

Ruff (I001)

langchain_core/messages/tool.py:1:1: I001 Import block is un-sorted or un-formatted

Check failure on line 13 in libs/core/langchain_core/messages/tool.py

View workflow job for this annotation

GitHub Actions / cd libs/core / make lint #3.13

Ruff (I001)

langchain_core/messages/tool.py:1:1: I001 Import block is un-sorted or un-formatted

Check failure on line 13 in libs/core/langchain_core/messages/tool.py

View workflow job for this annotation

GitHub Actions / cd libs/core / make lint #3.9

Ruff (I001)

langchain_core/messages/tool.py:1:1: I001 Import block is un-sorted or un-formatted
Expand Down Expand Up @@ -209,7 +210,6 @@ class ToolCall(TypedDict):


def tool_call(*, name: str, args: dict[str, Any], id: Optional[str]) -> ToolCall:
import re
if isinstance(args, str):
try:
# Extract JSON-like dictionary from string using regex
Expand Down

0 comments on commit 5da0dfc

Please sign in to comment.