Skip to content

Commit

Permalink
🔧 fix fix fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shroominic committed Mar 10, 2024
1 parent f2fa148 commit 8f2ecbc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/funcchain/model/abilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


def gather_llm_type(llm: BaseChatModel, func_check: bool = True) -> str:
from .patches import ChatOpenAI
from langchain_openai import ChatOpenAI

if not isinstance(llm, BaseChatModel):
return "base_model"
Expand Down
4 changes: 0 additions & 4 deletions src/funcchain/model/patches/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
from .azure import AzureChatOpenAI
from .llamacpp import ChatLlamaCpp
from .ollama import ChatOllama
from .openai import ChatOpenAI

__all__ = [
"AzureChatOpenAI",
"ChatOpenAI",
"ChatLlamaCpp",
"ChatOllama",
]

0 comments on commit 8f2ecbc

Please sign in to comment.