unique_toolkit 1.28.9__py3-none-any.whl → 1.29.0__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.
@@ -43,3 +43,7 @@ class SubAgentDisplayConfig(BaseModel):
43
43
  default="before",
44
44
  description="The position of the sub agent response in the main agent response.",
45
45
  )
46
+ force_include_references: bool = Field(
47
+ default=False,
48
+ description="If set, the sub agent references will be added to the main agent response references even in not mentioned in the main agent response text.",
49
+ )
@@ -60,6 +60,8 @@ class SubAgentResponsesDisplayPostprocessor(Postprocessor):
60
60
  display_spec.assistant_id: display_spec
61
61
  for display_spec in display_specs
62
62
  if display_spec.display_config.mode != SubAgentResponseDisplayMode.HIDDEN
63
+ # We should keep track of these messages even if they are hidden
64
+ or display_spec.display_config.force_include_references
63
65
  }
64
66
 
65
67
  @override
@@ -114,6 +116,9 @@ class SubAgentResponsesDisplayPostprocessor(Postprocessor):
114
116
  response.sequence_number,
115
117
  )
116
118
 
119
+ if tool_info.display_config.mode == SubAgentResponseDisplayMode.HIDDEN:
120
+ continue
121
+
117
122
  answer = get_sub_agent_answer_display(
118
123
  display_name=display_name,
119
124
  display_config=tool_info.display_config,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 1.28.9
3
+ Version: 1.29.0
4
4
  Summary:
5
5
  License: Proprietary
6
6
  Author: Cedric Klinkert
@@ -120,6 +120,9 @@ All notable changes to this project will be documented in this file.
120
120
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
121
121
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
122
122
 
123
+ ## [1.29.0] - 2025-11-21
124
+ - Add option to force include references in sub agent responses even if unused by main agent response.
125
+
123
126
  ## [1.28.9] - 2025-11-21
124
127
  - Remove `knolwedge_base_service` from DocXGeneratorService
125
128
 
@@ -80,8 +80,8 @@ unique_toolkit/agentic/tools/a2a/manager.py,sha256=pk06UUXKQdIUY-PyykYiItubBjmIy
80
80
  unique_toolkit/agentic/tools/a2a/postprocessing/__init__.py,sha256=aVtUBPN7kDrqA6Bze34AbqQpcBBqpvfyJG-xF65w7R0,659
81
81
  unique_toolkit/agentic/tools/a2a/postprocessing/_display_utils.py,sha256=iIuddL5qJlPiPHLcMXVXzZfBtYsZTzMfaSk1et5LWUY,5461
82
82
  unique_toolkit/agentic/tools/a2a/postprocessing/_ref_utils.py,sha256=E3KybH9SX5oOkh14sSaIaLnht4DhKVrHAiUkoACNBsg,2430
83
- unique_toolkit/agentic/tools/a2a/postprocessing/config.py,sha256=XhOeGu2qi_amz4VY2qF1ZGYQ1frYeVmVtAWYaKskgfY,1582
84
- unique_toolkit/agentic/tools/a2a/postprocessing/display.py,sha256=BzQUuK1wetma3GhU4YLfKG8DhhUK4a3skoK424jQyJ8,6135
83
+ unique_toolkit/agentic/tools/a2a/postprocessing/config.py,sha256=XVzZru7T-lULRsFKMJsBPY30XNSTj_MxEyGRCgBUnEk,1818
84
+ unique_toolkit/agentic/tools/a2a/postprocessing/display.py,sha256=WbT4fXo3aPiUoHGkPon_rdB86wLTmxavhfQ6AzmNexU,6398
85
85
  unique_toolkit/agentic/tools/a2a/postprocessing/references.py,sha256=DGiv8WXMjIwumI7tlpWRgV8wSxnE282ryxEf03fgck8,3465
86
86
  unique_toolkit/agentic/tools/a2a/postprocessing/test/test_display_utils.py,sha256=5fIwvSQI6J_YIHyQgME5WfxgfJOg_ad6JHcsV43jOgY,39642
87
87
  unique_toolkit/agentic/tools/a2a/postprocessing/test/test_ref_utils.py,sha256=u-eNrHjsRFcu4TmzkD5XfFrxvaIToB42YGyXZ-RpsR0,17830
@@ -183,7 +183,7 @@ unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBu
183
183
  unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
184
184
  unique_toolkit/smart_rules/compile.py,sha256=Ozhh70qCn2yOzRWr9d8WmJeTo7AQurwd3tStgBMPFLA,1246
185
185
  unique_toolkit/test_utilities/events.py,sha256=_mwV2bs5iLjxS1ynDCjaIq-gjjKhXYCK-iy3dRfvO3g,6410
186
- unique_toolkit-1.28.9.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
187
- unique_toolkit-1.28.9.dist-info/METADATA,sha256=SCu5--tpbJ8nZH3KytopxJJS0dhCuU0GWNQO1wQ6C2M,43940
188
- unique_toolkit-1.28.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
189
- unique_toolkit-1.28.9.dist-info/RECORD,,
186
+ unique_toolkit-1.29.0.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
187
+ unique_toolkit-1.29.0.dist-info/METADATA,sha256=cvclvkYk4XlKWrFf9j7md1JoSQkGQWFMmch2UC3wiRM,44070
188
+ unique_toolkit-1.29.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
189
+ unique_toolkit-1.29.0.dist-info/RECORD,,