Skip to content

Commit

Permalink
langchain handler fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bboynton97 committed May 23, 2024
1 parent c628ee0 commit 827e152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agentops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .agent import track_agent
from .log_config import logger
try:
from .langchain_callback_handler import LangchainCallbackHandler, AsyncLangchainCallbackHandler
from .partners.langchain_callback_handler import LangchainCallbackHandler, AsyncLangchainCallbackHandler
except ModuleNotFoundError:
pass

Expand Down
2 changes: 1 addition & 1 deletion agentops/partners/langchain_callback_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from agentops import ActionEvent, LLMEvent, ToolEvent, ErrorEvent
from agentops.helpers import get_ISO_time

from .helpers import debug_print_function_params
from ..helpers import debug_print_function_params


def get_model_from_kwargs(kwargs: any) -> str:
Expand Down

0 comments on commit 827e152

Please sign in to comment.