unique_orchestrator 1.5.2__py3-none-any.whl → 1.6.1__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.
Potentially problematic release.
This version of unique_orchestrator might be problematic. Click here for more details.
- unique_orchestrator/config.py +5 -0
- unique_orchestrator/unique_ai_builder.py +10 -3
- {unique_orchestrator-1.5.2.dist-info → unique_orchestrator-1.6.1.dist-info}/METADATA +8 -2
- {unique_orchestrator-1.5.2.dist-info → unique_orchestrator-1.6.1.dist-info}/RECORD +6 -6
- {unique_orchestrator-1.5.2.dist-info → unique_orchestrator-1.6.1.dist-info}/LICENSE +0 -0
- {unique_orchestrator-1.5.2.dist-info → unique_orchestrator-1.6.1.dist-info}/WHEEL +0 -0
unique_orchestrator/config.py
CHANGED
|
@@ -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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: unique_orchestrator
|
|
3
|
-
Version: 1.
|
|
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.
|
|
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,11 +1,11 @@
|
|
|
1
|
-
unique_orchestrator/config.py,sha256=
|
|
1
|
+
unique_orchestrator/config.py,sha256=iSNjiXacox0ZCfDO8whWgCjWzRLa1WKK4SLZF_uzpwk,11587
|
|
2
2
|
unique_orchestrator/prompts/generic_reference_prompt.jinja2,sha256=fYPaiE-N1gSoOqu85OeEBa_ttAim8grOhHuOHJjSHNU,2663
|
|
3
3
|
unique_orchestrator/prompts/system_prompt.jinja2,sha256=YXFdx3PG2p4TKfjEpz7guIw2GaKoY-4zRMEzXaKhHXE,7213
|
|
4
4
|
unique_orchestrator/prompts/user_message_prompt.jinja2,sha256=BQokpBh3H2J-rFk8i-PRph3jy4T1gAJPPb1mxxRWNuM,878
|
|
5
5
|
unique_orchestrator/tests/test_unique_ai_reference_order.py,sha256=8mZeVP1k8neH4qrFW3oa3zwIdaq2c7R1VvurC7kjBU8,4445
|
|
6
6
|
unique_orchestrator/unique_ai.py,sha256=OO-85-Qvw5tf5A227_ur34p3qn8RKnU4EPJ21x7jdQE,19324
|
|
7
|
-
unique_orchestrator/unique_ai_builder.py,sha256=
|
|
8
|
-
unique_orchestrator-1.
|
|
9
|
-
unique_orchestrator-1.
|
|
10
|
-
unique_orchestrator-1.
|
|
11
|
-
unique_orchestrator-1.
|
|
7
|
+
unique_orchestrator/unique_ai_builder.py,sha256=Zz3QWZjuKRr68tfXp8mNQBuDCp9t1arYQzRqMEgdUdI,17937
|
|
8
|
+
unique_orchestrator-1.6.1.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
|
9
|
+
unique_orchestrator-1.6.1.dist-info/METADATA,sha256=onN-02gNqSqUYs_bziJiKeG61m1Sil7u6qoB6Yj6FgY,3484
|
|
10
|
+
unique_orchestrator-1.6.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
11
|
+
unique_orchestrator-1.6.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|