ragaai-catalyst 2.1b4__py3-none-any.whl → 2.1b5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ragaai_catalyst/tracers/agentic_tracing/llm_tracer.py +5 -32
- {ragaai_catalyst-2.1b4.dist-info → ragaai_catalyst-2.1b5.dist-info}/METADATA +2 -2
- {ragaai_catalyst-2.1b4.dist-info → ragaai_catalyst-2.1b5.dist-info}/RECORD +5 -5
- {ragaai_catalyst-2.1b4.dist-info → ragaai_catalyst-2.1b5.dist-info}/WHEEL +0 -0
- {ragaai_catalyst-2.1b4.dist-info → ragaai_catalyst-2.1b5.dist-info}/top_level.txt +0 -0
@@ -501,12 +501,6 @@ class LLMTracerMixin:
|
|
501
501
|
name = self.current_llm_call_name.get()
|
502
502
|
if name is None:
|
503
503
|
name = original_func.__name__
|
504
|
-
|
505
|
-
end_memory = psutil.Process().memory_info().rss
|
506
|
-
memory_used = max(0, end_memory - start_memory)
|
507
|
-
|
508
|
-
# Get parent agent ID if exists
|
509
|
-
parent_agent_id = self.current_agent_id.get() if hasattr(self, 'current_agent_id') else None
|
510
504
|
|
511
505
|
llm_component = self.create_llm_component(
|
512
506
|
component_id=component_id,
|
@@ -514,24 +508,15 @@ class LLMTracerMixin:
|
|
514
508
|
name=name,
|
515
509
|
llm_type="unknown",
|
516
510
|
version="1.0.0",
|
517
|
-
memory_used=
|
511
|
+
memory_used=0,
|
518
512
|
start_time=start_time,
|
519
513
|
end_time=end_time,
|
520
514
|
input_data=self._extract_input_data(args, kwargs, None),
|
521
515
|
output_data=None,
|
522
|
-
error=error_component
|
523
|
-
parent_id=parent_agent_id
|
516
|
+
error=error_component
|
524
517
|
)
|
525
518
|
|
526
|
-
|
527
|
-
if parent_agent_id and hasattr(self, 'agent_children'):
|
528
|
-
parent_children = self.agent_children.get()
|
529
|
-
parent_children.append(llm_component)
|
530
|
-
self.agent_children.set(parent_children)
|
531
|
-
else:
|
532
|
-
# Only add to root components if no parent
|
533
|
-
self.add_component(llm_component)
|
534
|
-
|
519
|
+
self.add_component(llm_component)
|
535
520
|
raise
|
536
521
|
|
537
522
|
def trace_llm_call_sync(self, original_func, *args, **kwargs):
|
@@ -618,9 +603,6 @@ class LLMTracerMixin:
|
|
618
603
|
end_memory = psutil.Process().memory_info().rss
|
619
604
|
memory_used = max(0, end_memory - start_memory)
|
620
605
|
|
621
|
-
# Get parent agent ID if exists
|
622
|
-
parent_agent_id = self.current_agent_id.get() if hasattr(self, 'current_agent_id') else None
|
623
|
-
|
624
606
|
llm_component = self.create_llm_component(
|
625
607
|
component_id=component_id,
|
626
608
|
hash_id=hash_id,
|
@@ -632,19 +614,10 @@ class LLMTracerMixin:
|
|
632
614
|
end_time=end_time,
|
633
615
|
input_data=self._extract_input_data(args, kwargs, None),
|
634
616
|
output_data=None,
|
635
|
-
error=error_component
|
636
|
-
parent_id=parent_agent_id
|
617
|
+
error=error_component
|
637
618
|
)
|
638
619
|
|
639
|
-
|
640
|
-
if parent_agent_id and hasattr(self, 'agent_children'):
|
641
|
-
parent_children = self.agent_children.get()
|
642
|
-
parent_children.append(llm_component)
|
643
|
-
self.agent_children.set(parent_children)
|
644
|
-
else:
|
645
|
-
# Only add to root components if no parent
|
646
|
-
self.add_component(llm_component)
|
647
|
-
|
620
|
+
self.add_component(llm_component)
|
648
621
|
raise
|
649
622
|
|
650
623
|
def trace_llm(self, name: str = None):
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ragaai_catalyst
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.1b5
|
4
4
|
Summary: RAGA AI CATALYST
|
5
5
|
Author-email: Kiran Scaria <kiran.scaria@raga.ai>, Kedar Gaikwad <kedar.gaikwad@raga.ai>, Dushyant Mahajan <dushyant.mahajan@raga.ai>, Siddhartha Kosti <siddhartha.kosti@raga.ai>, Ritika Goel <ritika.goel@raga.ai>, Vijay Chaurasia <vijay.chaurasia@raga.ai>
|
6
|
-
Requires-Python: >=3.
|
6
|
+
Requires-Python: >=3.9
|
7
7
|
Description-Content-Type: text/markdown
|
8
8
|
Requires-Dist: aiohttp>=3.10.2
|
9
9
|
Requires-Dist: opentelemetry-api==1.25.0
|
@@ -21,7 +21,7 @@ ragaai_catalyst/tracers/agentic_tracing/agentic_tracing.py,sha256=WsddEXn2afdPx8
|
|
21
21
|
ragaai_catalyst/tracers/agentic_tracing/base.py,sha256=jRf_-5EIfCzGbaSQtkqgiDQAH4ymoKUrg9A8YqB08jk,14008
|
22
22
|
ragaai_catalyst/tracers/agentic_tracing/data_structure.py,sha256=wkZctMTUQUViqKrHhdZiMERSBVfwURAJ-lFlQUou638,7395
|
23
23
|
ragaai_catalyst/tracers/agentic_tracing/file_name_tracker.py,sha256=515NNDQJTyy3O-2rdlUYUoWL9qSwLIfvV3sMB9BtHp8,1366
|
24
|
-
ragaai_catalyst/tracers/agentic_tracing/llm_tracer.py,sha256=
|
24
|
+
ragaai_catalyst/tracers/agentic_tracing/llm_tracer.py,sha256=dI2Pg4cNGTf5k7g7ViVRUu6Pck8In4aqQYGLn_xwNxY,32705
|
25
25
|
ragaai_catalyst/tracers/agentic_tracing/network_tracer.py,sha256=6FTA15xMnum9omM_0Jd9cMIuWdKu1gR5Tc8fOXAkP8E,10068
|
26
26
|
ragaai_catalyst/tracers/agentic_tracing/sample.py,sha256=S4rCcKzU_5SB62BYEbNn_1VbbTdG4396N8rdZ3ZNGcE,5654
|
27
27
|
ragaai_catalyst/tracers/agentic_tracing/tool_tracer.py,sha256=Yc4x82rk0hCANwXUt4M66Qv_4OdpsXsjlq6OIOef1io,8763
|
@@ -50,7 +50,7 @@ ragaai_catalyst/tracers/instrumentators/llamaindex.py,sha256=SMrRlR4xM7k9HK43hak
|
|
50
50
|
ragaai_catalyst/tracers/instrumentators/openai.py,sha256=14R4KW9wQCR1xysLfsP_nxS7cqXrTPoD8En4MBAaZUU,379
|
51
51
|
ragaai_catalyst/tracers/utils/__init__.py,sha256=KeMaZtYaTojilpLv65qH08QmpYclfpacDA0U3wg6Ybw,64
|
52
52
|
ragaai_catalyst/tracers/utils/utils.py,sha256=ViygfJ7vZ7U0CTSA1lbxVloHp4NSlmfDzBRNCJuMhis,2374
|
53
|
-
ragaai_catalyst-2.
|
54
|
-
ragaai_catalyst-2.
|
55
|
-
ragaai_catalyst-2.
|
56
|
-
ragaai_catalyst-2.
|
53
|
+
ragaai_catalyst-2.1b5.dist-info/METADATA,sha256=Aqk9psd4uVTwFEtlydBvf79poBz1uPttrh_qLw-p5Bc,1795
|
54
|
+
ragaai_catalyst-2.1b5.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
|
55
|
+
ragaai_catalyst-2.1b5.dist-info/top_level.txt,sha256=HpgsdRgEJMk8nqrU6qdCYk3di7MJkDL0B19lkc7dLfM,16
|
56
|
+
ragaai_catalyst-2.1b5.dist-info/RECORD,,
|
File without changes
|
File without changes
|