unique_orchestrator 1.5.2__tar.gz → 1.6.1__tar.gz

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.

Potentially problematic release.


This version of unique_orchestrator might be problematic. Click here for more details.

@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.6.1] - 2025-10-28
9
+ - Removing unused experimental config `full_sources_serialize_dump` in `history_manager`
10
+
11
+ ## [1.6.0] - 2025-10-27
12
+ - Add temporary config option `sleep_time_before_update` to avoid rendering issues with sub agent responses`
13
+
8
14
  ## [1.5.2] - 2025-10-23
9
15
  - Run evaluation and post processing in parallel
10
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_orchestrator
3
- Version: 1.5.2
3
+ Version: 1.6.1
4
4
  Summary:
5
5
  License: Proprietary
6
6
  Author: Andreas Hauri
@@ -19,7 +19,7 @@ Requires-Dist: unique-follow-up-questions (>=1.1.2,<2.0.0)
19
19
  Requires-Dist: unique-internal-search (>=1.0.1,<2.0.0)
20
20
  Requires-Dist: unique-sdk (>=0.10.24,<0.11.0)
21
21
  Requires-Dist: unique-stock-ticker (>=1.0.2,<2.0.0)
22
- Requires-Dist: unique-toolkit (>=1.16.1,<2.0.0)
22
+ Requires-Dist: unique-toolkit (>=1.18.0,<2.0.0)
23
23
  Requires-Dist: unique-web-search (>=1.3.1,<2.0.0)
24
24
  Description-Content-Type: text/markdown
25
25
 
@@ -33,6 +33,12 @@ All notable changes to this project will be documented in this file.
33
33
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
34
34
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
35
35
 
36
+ ## [1.6.1] - 2025-10-28
37
+ - Removing unused experimental config `full_sources_serialize_dump` in `history_manager`
38
+
39
+ ## [1.6.0] - 2025-10-27
40
+ - Add temporary config option `sleep_time_before_update` to avoid rendering issues with sub agent responses`
41
+
36
42
  ## [1.5.2] - 2025-10-23
37
43
  - Run evaluation and post processing in parallel
38
44
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "unique_orchestrator"
3
- version = "1.5.2"
3
+ version = "1.6.1"
4
4
  description = ""
5
5
  authors = ["Andreas Hauri <andreas.hauri@unique.ai>"]
6
6
  readme = ["README.md", "CHANGELOG.md"]
@@ -15,7 +15,7 @@ python-dotenv = "^1.0.1"
15
15
  pytest = "^8.4.1"
16
16
  unique-sdk = "^0.10.24"
17
17
 
18
- unique-toolkit = "^1.16.1"
18
+ unique-toolkit = "^1.18.0"
19
19
  unique-stock-ticker = "^1.0.2"
20
20
  unique-follow-up-questions = "^1.1.2"
21
21
  unique-internal-search = "^1.0.1"
@@ -230,6 +230,11 @@ class SubAgentsConfig(BaseModel):
230
230
  | DeactivatedNone
231
231
  ) = SubAgentEvaluationServiceConfig()
232
232
 
233
+ sleep_time_before_update: float = Field(
234
+ default=0.5,
235
+ description="Time to sleep before updating the main agent message to display the sub agent responses. Temporary fix to avoid rendering issues.",
236
+ )
237
+
233
238
 
234
239
  class ResponsesApiConfig(BaseModel):
235
240
  model_config = get_configuration_dict(frozen=True)
@@ -50,6 +50,9 @@ from unique_toolkit.agentic.tools.a2a import (
50
50
  SubAgentEvaluationService,
51
51
  SubAgentResponsesPostprocessor,
52
52
  )
53
+ from unique_toolkit.agentic.tools.a2a.postprocessing.postprocessor import (
54
+ SubAgentResponsesPostprocessorConfig,
55
+ )
53
56
  from unique_toolkit.agentic.tools.config import ToolBuildConfig
54
57
  from unique_toolkit.agentic.tools.mcp.manager import MCPManager
55
58
  from unique_toolkit.agentic.tools.openai_builtin.base import OpenAIBuiltInToolName
@@ -138,9 +141,7 @@ def _build_common(
138
141
  reference_manager = ReferenceManager()
139
142
 
140
143
  history_manager_config = HistoryManagerConfig(
141
- experimental_features=history_manager_module.ExperimentalFeatures(
142
- full_sources_serialize_dump=False,
143
- ),
144
+ experimental_features=history_manager_module.ExperimentalFeatures(),
144
145
  percent_of_max_tokens_for_history=config.agent.input_token_distribution.percent_for_history,
145
146
  language_model=config.space.language_model,
146
147
  uploaded_content_config=config.agent.services.uploaded_content_config,
@@ -342,6 +343,7 @@ async def _build_responses(
342
343
  user_id=event.user_id,
343
344
  company_id=event.company_id,
344
345
  chat_id=event.payload.chat_id,
346
+ sleep_time_before_update=config.agent.experimental.sub_agents_config.sleep_time_before_update,
345
347
  )
346
348
  _add_sub_agents_evaluation(
347
349
  evaluation_manager=common_components.evaluation_manager,
@@ -419,6 +421,7 @@ def _build_completions(
419
421
  user_id=event.user_id,
420
422
  company_id=event.company_id,
421
423
  chat_id=event.payload.chat_id,
424
+ sleep_time_before_update=config.agent.experimental.sub_agents_config.sleep_time_before_update,
422
425
  )
423
426
  _add_sub_agents_evaluation(
424
427
  evaluation_manager=common_components.evaluation_manager,
@@ -451,6 +454,7 @@ def _add_sub_agents_postprocessor(
451
454
  user_id: str,
452
455
  company_id: str,
453
456
  chat_id: str,
457
+ sleep_time_before_update: float,
454
458
  ) -> None:
455
459
  sub_agents = tool_manager.sub_agents
456
460
  if len(sub_agents) > 0:
@@ -458,6 +462,9 @@ def _add_sub_agents_postprocessor(
458
462
  user_id=user_id,
459
463
  main_agent_chat_id=chat_id,
460
464
  company_id=company_id,
465
+ config=SubAgentResponsesPostprocessorConfig(
466
+ sleep_time_before_update=sleep_time_before_update,
467
+ ),
461
468
  )
462
469
  postprocessor_manager.add_postprocessor(sub_agent_responses_postprocessor)
463
470