Skip to content

Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI

Removing duplicate line (#141)

Howard Gilcdcce4a5284b
diff --git a/agentops/langchain_callback_handler.py b/agentops/langchain_callback_handler.py
index ee289216..a79d3ea9 100644
--- a/agentops/langchain_callback_handler.py
+++ b/agentops/langchain_callback_handler.py
@@ -433,7 +433,6 @@ class AsyncLangchainCallbackHandler(AsyncCallbackHandler):
# TODO: more descriptive error
error_event = ErrorEvent(trigger_event=self.events.llm[str(run_id)],
details="on_llm_end: No generations", timestamp=get_ISO_time())
- details="on_llm_end: No generations", timestamp=get_ISO_time())
self.ao_client.record(error_event)
@debug_print_function_params