unique_orchestrator 1.5.2__tar.gz → 1.6.0__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.
@@ -5,6 +5,9 @@ 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.0] - 2025-10-27
9
+ - Add temporary config option `sleep_time_before_update` to avoid rendering issues with sub agent responses`
10
+
8
11
  ## [1.5.2] - 2025-10-23
9
12
  - Run evaluation and post processing in parallel
10
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_orchestrator
3
- Version: 1.5.2
3
+ Version: 1.6.0
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,9 @@ 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.0] - 2025-10-27
37
+ - Add temporary config option `sleep_time_before_update` to avoid rendering issues with sub agent responses`
38
+
36
39
  ## [1.5.2] - 2025-10-23
37
40
  - Run evaluation and post processing in parallel
38
41
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "unique_orchestrator"
3
- version = "1.5.2"
3
+ version = "1.6.0"
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
@@ -342,6 +345,7 @@ async def _build_responses(
342
345
  user_id=event.user_id,
343
346
  company_id=event.company_id,
344
347
  chat_id=event.payload.chat_id,
348
+ sleep_time_before_update=config.agent.experimental.sub_agents_config.sleep_time_before_update,
345
349
  )
346
350
  _add_sub_agents_evaluation(
347
351
  evaluation_manager=common_components.evaluation_manager,
@@ -419,6 +423,7 @@ def _build_completions(
419
423
  user_id=event.user_id,
420
424
  company_id=event.company_id,
421
425
  chat_id=event.payload.chat_id,
426
+ sleep_time_before_update=config.agent.experimental.sub_agents_config.sleep_time_before_update,
422
427
  )
423
428
  _add_sub_agents_evaluation(
424
429
  evaluation_manager=common_components.evaluation_manager,
@@ -451,6 +456,7 @@ def _add_sub_agents_postprocessor(
451
456
  user_id: str,
452
457
  company_id: str,
453
458
  chat_id: str,
459
+ sleep_time_before_update: float,
454
460
  ) -> None:
455
461
  sub_agents = tool_manager.sub_agents
456
462
  if len(sub_agents) > 0:
@@ -458,6 +464,9 @@ def _add_sub_agents_postprocessor(
458
464
  user_id=user_id,
459
465
  main_agent_chat_id=chat_id,
460
466
  company_id=company_id,
467
+ config=SubAgentResponsesPostprocessorConfig(
468
+ sleep_time_before_update=sleep_time_before_update,
469
+ ),
461
470
  )
462
471
  postprocessor_manager.add_postprocessor(sub_agent_responses_postprocessor)
463
472