haystack-experimental 0.15.0__py3-none-any.whl → 0.15.2__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.
@@ -2,6 +2,8 @@
2
2
  #
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
 
5
+ from copy import deepcopy
6
+
5
7
  from haystack.dataclasses.breakpoints import AgentSnapshot, ToolBreakpoint
6
8
  from haystack.utils import _deserialize_value_with_schema
7
9
 
@@ -31,7 +33,7 @@ def get_tool_calls_and_descriptions_from_snapshot(
31
33
  tool_caused_break_point = break_point.tool_name
32
34
 
33
35
  # Deserialize the tool invoker inputs from the snapshot
34
- tool_invoker_inputs = _deserialize_value_with_schema(agent_snapshot.component_inputs["tool_invoker"])
36
+ tool_invoker_inputs = _deserialize_value_with_schema(deepcopy(agent_snapshot.component_inputs["tool_invoker"]))
35
37
  tool_call_messages = tool_invoker_inputs["messages"]
36
38
  state = tool_invoker_inputs["state"]
37
39
  tool_name_to_tool = {t.name: t for t in tool_invoker_inputs["tools"]}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haystack-experimental
3
- Version: 0.15.0
3
+ Version: 0.15.2
4
4
  Summary: Experimental components and features for the Haystack LLM framework.
5
5
  Project-URL: CI: GitHub, https://github.com/deepset-ai/haystack-experimental/actions
6
6
  Project-URL: GitHub: issues, https://github.com/deepset-ai/haystack-experimental/issues
@@ -25,6 +25,7 @@ Classifier: Programming Language :: Python :: 3.13
25
25
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
26
26
  Requires-Python: >=3.9
27
27
  Requires-Dist: haystack-ai
28
+ Requires-Dist: lazy-imports<1.2.0
28
29
  Requires-Dist: rich
29
30
  Description-Content-Type: text/markdown
30
31
 
@@ -6,7 +6,7 @@ haystack_experimental/components/__init__.py,sha256=eHD7xrty2PCky_gG3ty19rpM4WfV
6
6
  haystack_experimental/components/agents/__init__.py,sha256=Sxu9LxPpQ5cljgoTgUeNC0GY8CwUdiSy1JWkd_-RRJ4,414
7
7
  haystack_experimental/components/agents/agent.py,sha256=ZIrzAQygva8zFhEl1Tu7WRJCz0W_MersPjtesqx8HQE,42128
8
8
  haystack_experimental/components/agents/human_in_the_loop/__init__.py,sha256=xLr1G9pNWMmCpKN9mbv6yqeFfwMcbZyaVfCkzlwMxhY,1674
9
- haystack_experimental/components/agents/human_in_the_loop/breakpoint.py,sha256=GhNdGdFNDnwSiTukD4WVp6-1YgGjq5oqCEcGMC2dcog,2902
9
+ haystack_experimental/components/agents/human_in_the_loop/breakpoint.py,sha256=K5rU61821uXjXkcXuXkN3p1_9Boq7FhJK1GOcAz7C0g,2939
10
10
  haystack_experimental/components/agents/human_in_the_loop/dataclasses.py,sha256=OakB0PXBSG0LbQixcuo-d7IC-A3_k6qi80pB8hwY23o,2563
11
11
  haystack_experimental/components/agents/human_in_the_loop/errors.py,sha256=HAjD_MCOTBirqnJdxpc2MhqIm-XnU3Soev29wRBWoMw,1066
12
12
  haystack_experimental/components/agents/human_in_the_loop/policies.py,sha256=nzblePptT4Fg2GFHa4_SDIK_d7hZ_70qPhkteZBRXWk,3172
@@ -41,8 +41,8 @@ haystack_experimental/utils/hallucination_risk_calculator/core_math.py,sha256=8X
41
41
  haystack_experimental/utils/hallucination_risk_calculator/dataclasses.py,sha256=3vk9jsbW-7C9n408Qe730qgdXxIOzsTigf4TMLpryvI,2318
42
42
  haystack_experimental/utils/hallucination_risk_calculator/openai_planner.py,sha256=-yVQsGzM5rXsAVwolE6sp5W6q1yDw66SiIUuUbPk1ng,11413
43
43
  haystack_experimental/utils/hallucination_risk_calculator/skeletonization.py,sha256=qNdBUoFiBjQsI3ovrhd4RyTFmIbv51Goai1Z_l9lG28,5488
44
- haystack_experimental-0.15.0.dist-info/METADATA,sha256=j6tBvRNP5fG70p7tigTeiA0A57pnUFriu2fA2oxXPas,17581
45
- haystack_experimental-0.15.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
46
- haystack_experimental-0.15.0.dist-info/licenses/LICENSE,sha256=93_5nS97uHxptHvK9E8BZgKxLGeIS-rBWT2swIv-X5Y,11368
47
- haystack_experimental-0.15.0.dist-info/licenses/LICENSE-MIT.txt,sha256=knmLkIKj_6tTrTSVRg9Tq88Kww4UCPLt2I1RGXJv9sQ,1037
48
- haystack_experimental-0.15.0.dist-info/RECORD,,
44
+ haystack_experimental-0.15.2.dist-info/METADATA,sha256=gwKoa-KfJ7QXzCBMUA_s4zkE8Lbn0GwAWleOwAxWSZ8,17615
45
+ haystack_experimental-0.15.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
46
+ haystack_experimental-0.15.2.dist-info/licenses/LICENSE,sha256=93_5nS97uHxptHvK9E8BZgKxLGeIS-rBWT2swIv-X5Y,11368
47
+ haystack_experimental-0.15.2.dist-info/licenses/LICENSE-MIT.txt,sha256=knmLkIKj_6tTrTSVRg9Tq88Kww4UCPLt2I1RGXJv9sQ,1037
48
+ haystack_experimental-0.15.2.dist-info/RECORD,,