unique_orchestrator 1.7.1__py3-none-any.whl → 1.7.3__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.py +1 -3
- {unique_orchestrator-1.7.1.dist-info → unique_orchestrator-1.7.3.dist-info}/METADATA +10 -3
- {unique_orchestrator-1.7.1.dist-info → unique_orchestrator-1.7.3.dist-info}/RECORD +6 -6
- {unique_orchestrator-1.7.1.dist-info → unique_orchestrator-1.7.3.dist-info}/LICENSE +0 -0
- {unique_orchestrator-1.7.1.dist-info → unique_orchestrator-1.7.3.dist-info}/WHEEL +0 -0
unique_orchestrator/config.py
CHANGED
|
@@ -10,6 +10,7 @@ from unique_follow_up_questions.config import FollowUpQuestionsConfig
|
|
|
10
10
|
from unique_internal_search.config import InternalSearchConfig
|
|
11
11
|
from unique_internal_search.service import InternalSearchTool
|
|
12
12
|
from unique_stock_ticker.config import StockTickerConfig
|
|
13
|
+
from unique_swot import SwotAnalysisTool, SwotAnalysisToolConfig
|
|
13
14
|
from unique_toolkit._common.validators import (
|
|
14
15
|
LMI,
|
|
15
16
|
ClipInt,
|
|
@@ -90,6 +91,10 @@ class SpaceConfigBase(BaseModel, Generic[T]):
|
|
|
90
91
|
name=DeepResearchTool.name,
|
|
91
92
|
configuration=DeepResearchToolConfig(),
|
|
92
93
|
),
|
|
94
|
+
ToolBuildConfig(
|
|
95
|
+
name=SwotAnalysisTool.name,
|
|
96
|
+
configuration=SwotAnalysisToolConfig(),
|
|
97
|
+
),
|
|
93
98
|
],
|
|
94
99
|
)
|
|
95
100
|
|
unique_orchestrator/unique_ai.py
CHANGED
|
@@ -135,9 +135,6 @@ class UniqueAI:
|
|
|
135
135
|
self.start_text = self._thinking_manager.update_start_text(
|
|
136
136
|
self.start_text, loop_response
|
|
137
137
|
)
|
|
138
|
-
await self._create_new_assistant_message_if_loop_response_contains_content(
|
|
139
|
-
loop_response
|
|
140
|
-
)
|
|
141
138
|
|
|
142
139
|
# Only set completed_at if no tool took control. Tools that take control will set the message state to completed themselves.
|
|
143
140
|
await self._chat_service.modify_assistant_message_async(
|
|
@@ -231,6 +228,7 @@ class UniqueAI:
|
|
|
231
228
|
self._logger.debug(
|
|
232
229
|
"Tools were called we process them and do not exit the loop"
|
|
233
230
|
)
|
|
231
|
+
await self._create_new_assistant_message_if_loop_response_contains_content(loop_response)
|
|
234
232
|
|
|
235
233
|
return await self._handle_tool_calls(loop_response)
|
|
236
234
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: unique_orchestrator
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.3
|
|
4
4
|
Summary:
|
|
5
5
|
License: Proprietary
|
|
6
6
|
Author: Andreas Hauri
|
|
@@ -17,9 +17,10 @@ Requires-Dist: typing-extensions (>=4.9.0,<5.0.0)
|
|
|
17
17
|
Requires-Dist: unique-deep-research (>=3.0.0,<4.0.0)
|
|
18
18
|
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
|
-
Requires-Dist: unique-sdk (>=0.10.
|
|
20
|
+
Requires-Dist: unique-sdk (>=0.10.34,<0.11.0)
|
|
21
21
|
Requires-Dist: unique-stock-ticker (>=1.0.2,<2.0.0)
|
|
22
|
-
Requires-Dist: unique-
|
|
22
|
+
Requires-Dist: unique-swot (>=0.1.0,<0.2.0)
|
|
23
|
+
Requires-Dist: unique-toolkit (>=1.22.2,<2.0.0)
|
|
23
24
|
Requires-Dist: unique-web-search (>=1.3.1,<2.0.0)
|
|
24
25
|
Description-Content-Type: text/markdown
|
|
25
26
|
|
|
@@ -33,6 +34,12 @@ All notable changes to this project will be documented in this file.
|
|
|
33
34
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
34
35
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
35
36
|
|
|
37
|
+
## [1.7.3] - 2025-11-03
|
|
38
|
+
- Fixed an issue where new assistant messages were not properly generated during streaming outputs with tool calls; the orchestrator now correctly creates messages via `_create_new_assistant_message_if_loop_response_contains_content` when loop_response includes text and tool invocations.
|
|
39
|
+
|
|
40
|
+
## [1.7.2] - 2025-11-03
|
|
41
|
+
- Add Swot tool to the orchestrator
|
|
42
|
+
|
|
36
43
|
## [1.7.1] - 2025-10-30
|
|
37
44
|
- Fixing that system format info is only appended to system prompt if tool is called
|
|
38
45
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
unique_orchestrator/config.py,sha256=
|
|
1
|
+
unique_orchestrator/config.py,sha256=fKjBYrkzgzxA0EH4hSQIkQ2sJz8_Au9Lsa3T4EXOEws,12006
|
|
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
|
-
unique_orchestrator/unique_ai.py,sha256=
|
|
6
|
+
unique_orchestrator/unique_ai.py,sha256=ffA5hfULt5o9MRCIA6XA8ih4jlij2cW8SUm0AUxGAB8,19767
|
|
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.3.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
|
9
|
+
unique_orchestrator-1.7.3.dist-info/METADATA,sha256=NV4MzPvV7A3XTu77BzMpoN1K9jeQ3bvjI4GzxHZ8mAk,4207
|
|
10
|
+
unique_orchestrator-1.7.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
11
|
+
unique_orchestrator-1.7.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|