Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bboynton97 committed Aug 9, 2024
1 parent 15f04ac commit b6f2832
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions agentops/partners/langchain_callback_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
from agentops.helpers import get_ISO_time

from ..helpers import debug_print_function_params
import os
from ..log_config import logger
import logging


def get_model_from_kwargs(kwargs: any) -> str:
Expand Down Expand Up @@ -46,14 +44,12 @@ def __init__(
endpoint: Optional[str] = None,
max_wait_time: Optional[int] = None,
max_queue_size: Optional[int] = None,
default_tags: Optional[List[str]] = None,
):
client_params: Dict[str, Any] = {
"api_key": api_key,
"endpoint": endpoint,
"max_wait_time": max_wait_time,
"max_queue_size": max_queue_size,
"default_tags": default_tags,
}

self.ao_client = AOClient()

Check warning on line 55 in agentops/partners/langchain_callback_handler.py

View check run for this annotation

Codecov / codecov/patch

agentops/partners/langchain_callback_handler.py#L55

Added line #L55 was not covered by tests
Expand Down

0 comments on commit b6f2832

Please sign in to comment.