unique_orchestrator 1.7.0__py3-none-any.whl → 1.7.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/unique_ai.py +13 -2
- {unique_orchestrator-1.7.0.dist-info → unique_orchestrator-1.7.1.dist-info}/METADATA +4 -1
- {unique_orchestrator-1.7.0.dist-info → unique_orchestrator-1.7.1.dist-info}/RECORD +5 -5
- {unique_orchestrator-1.7.0.dist-info → unique_orchestrator-1.7.1.dist-info}/LICENSE +0 -0
- {unique_orchestrator-1.7.0.dist-info → unique_orchestrator-1.7.1.dist-info}/WHEEL +0 -0
unique_orchestrator/unique_ai.py
CHANGED
|
@@ -261,7 +261,10 @@ class UniqueAI:
|
|
|
261
261
|
for prompts in self._tool_manager.get_tool_prompts()
|
|
262
262
|
]
|
|
263
263
|
|
|
264
|
-
used_tools = [
|
|
264
|
+
used_tools = [t.name for t in self._history_manager.get_tool_calls()]
|
|
265
|
+
sub_agent_calls = self._tool_manager.filter_tool_calls(
|
|
266
|
+
self._history_manager.get_tool_calls(), ["subagent"]
|
|
267
|
+
)
|
|
265
268
|
|
|
266
269
|
mcp_server_user_prompts = [
|
|
267
270
|
mcp_server.user_prompt for mcp_server in self._mcp_servers
|
|
@@ -274,6 +277,7 @@ class UniqueAI:
|
|
|
274
277
|
if (
|
|
275
278
|
self._config.agent.experimental.sub_agents_config.referencing_config
|
|
276
279
|
is not None
|
|
280
|
+
and len(sub_agent_calls) > 0
|
|
277
281
|
):
|
|
278
282
|
use_sub_agent_references = True
|
|
279
283
|
sub_agent_referencing_instructions = self._config.agent.experimental.sub_agents_config.referencing_config.referencing_instructions_for_user_prompt
|
|
@@ -298,7 +302,10 @@ class UniqueAI:
|
|
|
298
302
|
# TODO: Collect tool information here and adapt to system prompt
|
|
299
303
|
tool_descriptions = self._tool_manager.get_tool_prompts()
|
|
300
304
|
|
|
301
|
-
used_tools = [
|
|
305
|
+
used_tools = [t.name for t in self._history_manager.get_tool_calls()]
|
|
306
|
+
sub_agent_calls = self._tool_manager.filter_tool_calls(
|
|
307
|
+
self._history_manager.get_tool_calls(), ["subagent"]
|
|
308
|
+
)
|
|
302
309
|
|
|
303
310
|
system_prompt_template = jinja2.Template(
|
|
304
311
|
self._config.agent.prompt_config.system_prompt_template
|
|
@@ -313,6 +320,7 @@ class UniqueAI:
|
|
|
313
320
|
if (
|
|
314
321
|
self._config.agent.experimental.sub_agents_config.referencing_config
|
|
315
322
|
is not None
|
|
323
|
+
and len(sub_agent_calls) > 0
|
|
316
324
|
):
|
|
317
325
|
use_sub_agent_references = True
|
|
318
326
|
sub_agent_referencing_instructions = self._config.agent.experimental.sub_agents_config.referencing_config.referencing_instructions_for_system_prompt
|
|
@@ -382,6 +390,9 @@ class UniqueAI:
|
|
|
382
390
|
# Append function calls to history
|
|
383
391
|
self._history_manager._append_tool_calls_to_history(tool_calls)
|
|
384
392
|
|
|
393
|
+
for tool_call in tool_calls:
|
|
394
|
+
self._history_manager.add_tool_call(tool_call)
|
|
395
|
+
|
|
385
396
|
# Execute tool calls
|
|
386
397
|
tool_call_responses = await self._tool_manager.execute_selected_tools(
|
|
387
398
|
tool_calls
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: unique_orchestrator
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.1
|
|
4
4
|
Summary:
|
|
5
5
|
License: Proprietary
|
|
6
6
|
Author: Andreas Hauri
|
|
@@ -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.7.1] - 2025-10-30
|
|
37
|
+
- Fixing that system format info is only appended to system prompt if tool is called
|
|
38
|
+
|
|
36
39
|
## [1.7.0] - 2025-10-30
|
|
37
40
|
- Add option to customize the display of tool progress statuses.
|
|
38
41
|
- Make follow-questions postprocessor run last to make sure the follow up questions are displayed last.
|
|
@@ -3,9 +3,9 @@ unique_orchestrator/prompts/generic_reference_prompt.jinja2,sha256=fYPaiE-N1gSoO
|
|
|
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
|
-
unique_orchestrator/unique_ai.py,sha256=
|
|
6
|
+
unique_orchestrator/unique_ai.py,sha256=lYwaAZtwlEc-ApzvU7xzJeOkCK557O4yam62BM5pB8o,19797
|
|
7
7
|
unique_orchestrator/unique_ai_builder.py,sha256=p7cXCdXN36_CAgTiq-YXuPlaTjWI2D-QTwMSe0S7Chg,17877
|
|
8
|
-
unique_orchestrator-1.7.
|
|
9
|
-
unique_orchestrator-1.7.
|
|
10
|
-
unique_orchestrator-1.7.
|
|
11
|
-
unique_orchestrator-1.7.
|
|
8
|
+
unique_orchestrator-1.7.1.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
|
9
|
+
unique_orchestrator-1.7.1.dist-info/METADATA,sha256=Led9BbU6TlGke236ge9coxlA7i0oW3aDIYBOPYWVdOs,3788
|
|
10
|
+
unique_orchestrator-1.7.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
11
|
+
unique_orchestrator-1.7.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|