Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan committed Dec 6, 2023
1 parent 867ca6d commit 100b7c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion libs/langchain/langchain/llms/watsonxllm.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from langchain.callbacks.manager import CallbackManagerForLLMRun
from langchain.llms.base import BaseLLM
from langchain.pydantic_v1 import Extra, SecretStr, root_validator
from langchain.schema import LLMResult
from langchain_core.outputs import LLMResult
from langchain.schema.output import Generation, GenerationChunk
from langchain.utils import convert_to_secret_str, get_from_dict_or_env

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@

from langchain.callbacks.manager import CallbackManager
from langchain.chat_models.volcengine_maas import VolcEngineMaasChat
from langchain.schema import (
AIMessage,
BaseMessage,
ChatGeneration,
HumanMessage,
LLMResult,
)
from langchain_core.messages import AIMessage, BaseMessage, HumanMessage
from langchain_core.outputs import ChatGeneration, LLMResult
from tests.unit_tests.callbacks.fake_callback_handler import FakeCallbackHandler


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import Generator

from langchain.llms.volcengine_maas import VolcEngineMaasLLM
from langchain.schema import LLMResult
from langchain_core.outputs import LLMResult


def test_default_call() -> None:

Check failure on line 9 in libs/langchain/tests/integration_tests/llms/test_volcengine_maas.py

View workflow job for this annotation

GitHub Actions / lint / build (3.8)

Ruff (I001)

tests/integration_tests/llms/test_volcengine_maas.py:3:1: I001 Import block is un-sorted or un-formatted

Check failure on line 9 in libs/langchain/tests/integration_tests/llms/test_volcengine_maas.py

View workflow job for this annotation

GitHub Actions / lint / build (3.11)

Ruff (I001)

tests/integration_tests/llms/test_volcengine_maas.py:3:1: I001 Import block is un-sorted or un-formatted
Expand Down

0 comments on commit 100b7c9

Please sign in to comment.