Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan committed Feb 15, 2024
1 parent f47cebe commit 6a03c99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
3 changes: 1 addition & 2 deletions libs/core/langchain_core/language_models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ def _get_token_ids_default_method(text: str) -> List[int]:


class BaseLanguageModel(
RunnableSerializable[LanguageModelInput, LanguageModelOutputVar],
ABC,
RunnableSerializable[LanguageModelInput, LanguageModelOutputVar], ABC
):
"""Abstract base class for interfacing with language models.
Expand Down
5 changes: 1 addition & 4 deletions libs/core/langchain_core/language_models/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@
Callbacks,
)
from langchain_core.globals import get_llm_cache
from langchain_core.language_models.base import (
BaseLanguageModel,
LanguageModelInput,
)
from langchain_core.language_models.base import BaseLanguageModel, LanguageModelInput
from langchain_core.load import dumpd, dumps
from langchain_core.messages import (
AIMessage,
Expand Down
5 changes: 1 addition & 4 deletions libs/core/langchain_core/language_models/llms.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@
Callbacks,
)
from langchain_core.globals import get_llm_cache
from langchain_core.language_models.base import (
BaseLanguageModel,
LanguageModelInput,
)
from langchain_core.language_models.base import BaseLanguageModel, LanguageModelInput
from langchain_core.load import dumpd
from langchain_core.messages import (
AIMessage,
Expand Down

0 comments on commit 6a03c99

Please sign in to comment.