unique_orchestrator 2026.50.0.dev1__tar.gz → 2026.50.0.dev3__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.
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/PKG-INFO +2 -2
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/pyproject.toml +2 -2
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/_builders/skill_setup.py +25 -6
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/config.py +2 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/unique_ai_builder.py +2 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/README.md +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/__init__.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/_builders/__init__.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/_builders/history_manager.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/_builders/inject_tool_reminders.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/_builders/loop_iteration_runner.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/_builders/open_file_setup.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/_builders/skill_file_loader.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/prompts/generic_reference_prompt.jinja2 +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/prompts/system_prompt.jinja2 +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/prompts/user_message_prompt.jinja2 +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/settings.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_agent_config_rjsf_ui_schema.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_build_loop_iteration_runner.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_config_services_validators.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_qwen_max_loop_iterations.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_register_code_interpreter_postprocessors.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_unique_ai_async_modify.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_unique_ai_execution_timing.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_unique_ai_get_filtered_user_metadata.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_unique_ai_log_tool_calls.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_unique_ai_loop_debug_params.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_unique_ai_persist_tool_calls.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_unique_ai_plan_or_execute_include.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_unique_ai_reference_order.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_unique_ai_render_system_prompt_user_instructions.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_unique_ai_token_usage.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/tests/test_utils_resolve_other_options.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/unique_ai.py +0 -0
- {unique_orchestrator-2026.50.0.dev1 → unique_orchestrator-2026.50.0.dev3}/unique_orchestrator/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: unique-orchestrator
|
|
3
|
-
Version: 2026.50.0.
|
|
3
|
+
Version: 2026.50.0.dev3
|
|
4
4
|
Summary:
|
|
5
5
|
Author: Andreas Hauri
|
|
6
6
|
Author-email: Andreas Hauri <andreas.hauri@unique.ai>
|
|
@@ -15,7 +15,7 @@ Requires-Dist: unique-internal-search>=2026.50.0.dev1,<2026.50.0rc0
|
|
|
15
15
|
Requires-Dist: unique-deep-research>=2026.50.0.dev0,<2026.50.0rc0
|
|
16
16
|
Requires-Dist: unique-web-search>=2026.50.0.dev0,<2026.50.0rc0
|
|
17
17
|
Requires-Dist: unique-swot>=2026.50.0.dev0,<2026.50.0rc0
|
|
18
|
-
Requires-Dist: unique-skill-tool>=2026.50.0.
|
|
18
|
+
Requires-Dist: unique-skill-tool>=2026.50.0.dev1,<2026.50.0rc0
|
|
19
19
|
Requires-Dist: unique-user-memory>=2026.50.0.dev0,<2026.50.0rc0
|
|
20
20
|
Requires-Dist: openai>=1.109.1,<3
|
|
21
21
|
Requires-Python: >=3.12, <4
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "unique_orchestrator"
|
|
3
|
-
version = "2026.50.0.
|
|
3
|
+
version = "2026.50.0.dev3"
|
|
4
4
|
description = ""
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { text = "Proprietary" }
|
|
@@ -19,7 +19,7 @@ dependencies = [
|
|
|
19
19
|
"unique-deep-research>=2026.50.0.dev0,<2026.50.0rc0",
|
|
20
20
|
"unique-web-search>=2026.50.0.dev0,<2026.50.0rc0",
|
|
21
21
|
"unique-swot>=2026.50.0.dev0,<2026.50.0rc0",
|
|
22
|
-
"unique-skill-tool>=2026.50.0.
|
|
22
|
+
"unique-skill-tool>=2026.50.0.dev1,<2026.50.0rc0",
|
|
23
23
|
"unique-user-memory>=2026.50.0.dev0,<2026.50.0rc0",
|
|
24
24
|
"openai>=1.109.1,<3",
|
|
25
25
|
]
|
|
@@ -61,6 +61,9 @@ from unique_orchestrator._builders.skill_file_loader import (
|
|
|
61
61
|
)
|
|
62
62
|
|
|
63
63
|
if TYPE_CHECKING:
|
|
64
|
+
from unique_toolkit.agentic.debug_info_manager.debug_info_manager import (
|
|
65
|
+
DebugInfoManager,
|
|
66
|
+
)
|
|
64
67
|
from unique_toolkit.agentic.history_manager.history_manager import HistoryManager
|
|
65
68
|
from unique_toolkit.agentic.tools.tool_manager import (
|
|
66
69
|
ResponsesApiToolManager,
|
|
@@ -114,6 +117,7 @@ async def load_selectable_skills(
|
|
|
114
117
|
logger: Logger,
|
|
115
118
|
company_id: str = "",
|
|
116
119
|
readable_skill_versions: Mapping[str, str] | None = None,
|
|
120
|
+
debug_info_manager: DebugInfoManager | None = None,
|
|
117
121
|
) -> dict[str, SkillDefinition]:
|
|
118
122
|
"""Load skills from an explicit list of ``SkillReference`` references.
|
|
119
123
|
|
|
@@ -127,6 +131,9 @@ async def load_selectable_skills(
|
|
|
127
131
|
lists them. A skill in that map is served from the process-wide skill
|
|
128
132
|
cache when its file was parsed before; see ``skill_file_loader``. Any
|
|
129
133
|
other skill is downloaded as the user.
|
|
134
|
+
|
|
135
|
+
With ``debug_info_manager``, the counts are also stored under the
|
|
136
|
+
``skill_loading`` key of the turn's debug info.
|
|
130
137
|
"""
|
|
131
138
|
versions = readable_skill_versions or {}
|
|
132
139
|
valid_entries = [entry for entry in selectable_skills if entry.content_id]
|
|
@@ -202,16 +209,26 @@ async def load_selectable_skills(
|
|
|
202
209
|
len(pending),
|
|
203
210
|
skill_file_loader.SKILL_LOAD_BUDGET_S,
|
|
204
211
|
)
|
|
212
|
+
stats = {
|
|
213
|
+
"listed": len(valid_entries),
|
|
214
|
+
"loaded": len(skill_registry),
|
|
215
|
+
"from_cache": cached_count,
|
|
216
|
+
"downloaded": len(valid_entries) - cached_count - failed_count - len(pending),
|
|
217
|
+
"failed": failed_count,
|
|
218
|
+
"timed_out": len(pending),
|
|
219
|
+
}
|
|
205
220
|
logger.info(
|
|
206
221
|
"Loaded %d skill(s) from selectable_skills "
|
|
207
222
|
"(listed=%d, from_cache=%d, downloaded=%d, failed=%d, timed_out=%d).",
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
223
|
+
stats["loaded"],
|
|
224
|
+
stats["listed"],
|
|
225
|
+
stats["from_cache"],
|
|
226
|
+
stats["downloaded"],
|
|
227
|
+
stats["failed"],
|
|
228
|
+
stats["timed_out"],
|
|
214
229
|
)
|
|
230
|
+
if debug_info_manager is not None:
|
|
231
|
+
debug_info_manager.add("skill_loading", stats)
|
|
215
232
|
return skill_registry
|
|
216
233
|
|
|
217
234
|
|
|
@@ -225,6 +242,7 @@ async def configure_skill_tool(
|
|
|
225
242
|
user_id: str = "",
|
|
226
243
|
company_id: str = "",
|
|
227
244
|
space_id: str = "",
|
|
245
|
+
debug_info_manager: DebugInfoManager | None = None,
|
|
228
246
|
) -> None:
|
|
229
247
|
"""Populate the SkillTool's skill registry when it is enabled in ``space.tools``.
|
|
230
248
|
|
|
@@ -272,6 +290,7 @@ async def configure_skill_tool(
|
|
|
272
290
|
logger=logger,
|
|
273
291
|
company_id=company_id,
|
|
274
292
|
readable_skill_versions=readable_skill_versions,
|
|
293
|
+
debug_info_manager=debug_info_manager,
|
|
275
294
|
)
|
|
276
295
|
|
|
277
296
|
if not skill_registry:
|
|
@@ -18,6 +18,7 @@ from unique_internal_search.service import InternalSearchTool
|
|
|
18
18
|
from unique_internal_search.uploaded_search.config import (
|
|
19
19
|
UploadedSearchConfig,
|
|
20
20
|
)
|
|
21
|
+
from unique_skill_tool.service import SkillTool
|
|
21
22
|
from unique_stock_ticker.config import StockTickerConfig
|
|
22
23
|
from unique_swot import SwotAnalysisTool, SwotAnalysisToolConfig
|
|
23
24
|
from unique_toolkit._common.pydantic.rjsf_tags import RJSFMetaTag
|
|
@@ -211,6 +212,7 @@ class SpaceConfigBase(BaseToolConfig, Generic[T]):
|
|
|
211
212
|
InternalSearchTool.name,
|
|
212
213
|
WebSearchTool.name,
|
|
213
214
|
RetrieveSearchScopeTool.name,
|
|
215
|
+
SkillTool.name,
|
|
214
216
|
):
|
|
215
217
|
tool.configuration.language_model_max_input_tokens = ( # type: ignore
|
|
216
218
|
info.data["language_model"].token_limits.token_limit_input
|
|
@@ -705,6 +705,7 @@ async def _build_responses(
|
|
|
705
705
|
user_id=event.user_id,
|
|
706
706
|
company_id=event.company_id,
|
|
707
707
|
space_id=event.payload.assistant_id,
|
|
708
|
+
debug_info_manager=debug_info_manager,
|
|
708
709
|
)
|
|
709
710
|
|
|
710
711
|
loop_iteration_runner = build_responses_loop_iteration_runner(
|
|
@@ -834,6 +835,7 @@ async def _build_completions(
|
|
|
834
835
|
user_id=event.user_id,
|
|
835
836
|
company_id=event.company_id,
|
|
836
837
|
space_id=event.payload.assistant_id,
|
|
838
|
+
debug_info_manager=debug_info_manager,
|
|
837
839
|
)
|
|
838
840
|
|
|
839
841
|
postprocessor_manager = common_components.postprocessor_manager
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|