Skip to content

Commit

Permalink
Fix version skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun-Kim committed Jul 26, 2024
1 parent ff66fb0 commit 6b6d966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/contrib/langchain/test_langchain_llmobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from tests.utils import flaky


LANGCHAIN_VERSION = (parse_version(langchain.__version__) < (0, 1, 0) or sys.version_info < (3, 10),)
LANGCHAIN_VERSION = parse_version(langchain.__version__)

if LANGCHAIN_VERSION < (0, 1, 0):
from langchain.schema import AIMessage
Expand Down

0 comments on commit 6b6d966

Please sign in to comment.