File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
posthog/test/ai/langchain Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 55from unittest .mock import patch
66
77import pytest
8+ from langchain_anthropic .chat_models import ChatAnthropic
89from langchain_community .chat_models .fake import FakeMessagesListChatModel
910from langchain_community .llms .fake import FakeListLLM , FakeStreamingListLLM
1011from langchain_core .messages import AIMessage
1112from langchain_core .prompts import ChatPromptTemplate
1213from langchain_core .runnables import RunnableLambda
1314from langchain_openai .chat_models import ChatOpenAI
14- from langchain_anthropic .chat_models import ChatAnthropic
15- from posthog .ai .langchain import CallbackHandler
1615
16+ from posthog .ai .langchain import CallbackHandler
1717
1818OPENAI_API_KEY = os .getenv ("OPENAI_API_KEY" )
1919ANTHROPIC_API_KEY = os .getenv ("ANTHROPIC_API_KEY" )
You can’t perform that action at this time.
0 commit comments