unique_orchestrator 1.4.1__tar.gz → 1.4.3__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.
Potentially problematic release.
This version of unique_orchestrator might be problematic. Click here for more details.
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/CHANGELOG.md +6 -0
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/PKG-INFO +8 -2
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/pyproject.toml +2 -2
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/unique_orchestrator/unique_ai.py +3 -1
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/unique_orchestrator/unique_ai_builder.py +14 -3
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/LICENSE +0 -0
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/README.md +0 -0
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/unique_orchestrator/config.py +0 -0
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/unique_orchestrator/prompts/generic_reference_prompt.jinja2 +0 -0
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/unique_orchestrator/prompts/system_prompt.jinja2 +0 -0
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/unique_orchestrator/prompts/user_message_prompt.jinja2 +0 -0
- {unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/unique_orchestrator/tests/test_unique_ai_reference_order.py +0 -0
|
@@ -5,6 +5,12 @@ 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.4.3] - 2025-10-16
|
|
9
|
+
- Fix issue with openai base url
|
|
10
|
+
|
|
11
|
+
## [1.4.2] - 2025-10-16
|
|
12
|
+
- Update debug info for better tool call tracking
|
|
13
|
+
|
|
8
14
|
## [1.4.1] - 2025-10-16
|
|
9
15
|
- Temporarily make open ai env vars configurable
|
|
10
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: unique_orchestrator
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.3
|
|
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.
|
|
22
|
+
Requires-Dist: unique-toolkit (>=1.16.1,<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.4.3] - 2025-10-16
|
|
37
|
+
- Fix issue with openai base url
|
|
38
|
+
|
|
39
|
+
## [1.4.2] - 2025-10-16
|
|
40
|
+
- Update debug info for better tool call tracking
|
|
41
|
+
|
|
36
42
|
## [1.4.1] - 2025-10-16
|
|
37
43
|
- Temporarily make open ai env vars configurable
|
|
38
44
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "unique_orchestrator"
|
|
3
|
-
version = "1.4.
|
|
3
|
+
version = "1.4.3"
|
|
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.
|
|
18
|
+
unique-toolkit = "^1.16.1"
|
|
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"
|
|
@@ -373,7 +373,9 @@ class UniqueAI:
|
|
|
373
373
|
# then extract referenceable chunks and debug info
|
|
374
374
|
self._history_manager.add_tool_call_results(tool_call_responses)
|
|
375
375
|
self._reference_manager.extract_referenceable_chunks(tool_call_responses)
|
|
376
|
-
self._debug_info_manager.extract_tool_debug_info(
|
|
376
|
+
self._debug_info_manager.extract_tool_debug_info(
|
|
377
|
+
tool_call_responses, self.current_iteration_index
|
|
378
|
+
)
|
|
377
379
|
|
|
378
380
|
self._tool_took_control = self._tool_manager.does_a_tool_take_control(
|
|
379
381
|
tool_calls
|
{unique_orchestrator-1.4.1 → unique_orchestrator-1.4.3}/unique_orchestrator/unique_ai_builder.py
RENAMED
|
@@ -217,7 +217,18 @@ def _build_common(
|
|
|
217
217
|
)
|
|
218
218
|
|
|
219
219
|
|
|
220
|
-
def
|
|
220
|
+
def _prepare_base_url(url: str, use_v1: bool) -> str:
|
|
221
|
+
url = url.rstrip("/") + "/openai"
|
|
222
|
+
|
|
223
|
+
if use_v1:
|
|
224
|
+
url += "/v1"
|
|
225
|
+
|
|
226
|
+
return url
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
def _get_openai_client_from_env(
|
|
230
|
+
config: UniqueAIConfig, use_v1: bool = False
|
|
231
|
+
) -> AsyncOpenAI:
|
|
221
232
|
use_direct_azure_client = (
|
|
222
233
|
config.agent.experimental.responses_api_config.use_direct_azure_client
|
|
223
234
|
)
|
|
@@ -228,7 +239,7 @@ def _get_openai_client_from_env(config: UniqueAIConfig) -> AsyncOpenAI:
|
|
|
228
239
|
# TODO: (for testing only), remove when v1 endpoint is working
|
|
229
240
|
return AsyncOpenAI(
|
|
230
241
|
api_key=os.environ[api_key_env_var],
|
|
231
|
-
base_url=os.environ[api_base_env_var],
|
|
242
|
+
base_url=_prepare_base_url(os.environ[api_base_env_var], use_v1=use_v1),
|
|
232
243
|
)
|
|
233
244
|
else:
|
|
234
245
|
return get_async_openai_client().copy(
|
|
@@ -245,7 +256,7 @@ async def _build_responses(
|
|
|
245
256
|
common_components: _CommonComponents,
|
|
246
257
|
debug_info_manager: DebugInfoManager,
|
|
247
258
|
) -> UniqueAIResponsesApi:
|
|
248
|
-
client = _get_openai_client_from_env(config)
|
|
259
|
+
client = _get_openai_client_from_env(config, use_v1=True)
|
|
249
260
|
builtin_tool_manager = OpenAIBuiltInToolManager(
|
|
250
261
|
uploaded_files=common_components.uploaded_documents,
|
|
251
262
|
chat_id=event.payload.chat_id,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|