unique_orchestrator 1.4.0__tar.gz → 1.4.2__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.0 → unique_orchestrator-1.4.2}/CHANGELOG.md +6 -0
- {unique_orchestrator-1.4.0 → unique_orchestrator-1.4.2}/PKG-INFO +8 -2
- {unique_orchestrator-1.4.0 → unique_orchestrator-1.4.2}/pyproject.toml +2 -2
- {unique_orchestrator-1.4.0 → unique_orchestrator-1.4.2}/unique_orchestrator/config.py +9 -1
- {unique_orchestrator-1.4.0 → unique_orchestrator-1.4.2}/unique_orchestrator/unique_ai.py +3 -1
- {unique_orchestrator-1.4.0 → unique_orchestrator-1.4.2}/unique_orchestrator/unique_ai_builder.py +5 -2
- {unique_orchestrator-1.4.0 → unique_orchestrator-1.4.2}/LICENSE +0 -0
- {unique_orchestrator-1.4.0 → unique_orchestrator-1.4.2}/README.md +0 -0
- {unique_orchestrator-1.4.0 → unique_orchestrator-1.4.2}/unique_orchestrator/prompts/generic_reference_prompt.jinja2 +0 -0
- {unique_orchestrator-1.4.0 → unique_orchestrator-1.4.2}/unique_orchestrator/prompts/system_prompt.jinja2 +0 -0
- {unique_orchestrator-1.4.0 → unique_orchestrator-1.4.2}/unique_orchestrator/prompts/user_message_prompt.jinja2 +0 -0
- {unique_orchestrator-1.4.0 → unique_orchestrator-1.4.2}/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.2] - 2025-10-16
|
|
9
|
+
- Update debug info for better tool call tracking
|
|
10
|
+
|
|
11
|
+
## [1.4.1] - 2025-10-16
|
|
12
|
+
- Temporarily make open ai env vars configurable
|
|
13
|
+
|
|
8
14
|
## [1.4.0] - 2025-10-14
|
|
9
15
|
- Add responses api and code execution support.
|
|
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.2
|
|
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.2] - 2025-10-16
|
|
37
|
+
- Update debug info for better tool call tracking
|
|
38
|
+
|
|
39
|
+
## [1.4.1] - 2025-10-16
|
|
40
|
+
- Temporarily make open ai env vars configurable
|
|
41
|
+
|
|
36
42
|
## [1.4.0] - 2025-10-14
|
|
37
43
|
- Add responses api and code execution support.
|
|
38
44
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "unique_orchestrator"
|
|
3
|
-
version = "1.4.
|
|
3
|
+
version = "1.4.2"
|
|
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"
|
|
@@ -245,7 +245,15 @@ class ResponsesApiConfig(BaseModel):
|
|
|
245
245
|
|
|
246
246
|
use_direct_azure_client: SkipJsonSchema[bool] = Field(
|
|
247
247
|
default=True,
|
|
248
|
-
description="
|
|
248
|
+
description="[TEMPORARY] Whether to use the direct Azure client instead of the responses API.",
|
|
249
|
+
)
|
|
250
|
+
direct_azure_client_api_base_env_var: SkipJsonSchema[str] = Field(
|
|
251
|
+
default="OPENAI_BASE_URL",
|
|
252
|
+
description="[TEMPORARY] The environment variable that contains the API base for the direct Azure client.",
|
|
253
|
+
)
|
|
254
|
+
direct_azure_client_api_key_env_var: SkipJsonSchema[str] = Field(
|
|
255
|
+
default="OPENAI_API_KEY",
|
|
256
|
+
description="[TEMPORARY] The environment variable that contains the API key for the direct Azure client.",
|
|
249
257
|
)
|
|
250
258
|
|
|
251
259
|
generated_files_scope_id: str = Field(
|
|
@@ -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.0 → unique_orchestrator-1.4.2}/unique_orchestrator/unique_ai_builder.py
RENAMED
|
@@ -221,11 +221,14 @@ def _get_openai_client_from_env(config: UniqueAIConfig) -> AsyncOpenAI:
|
|
|
221
221
|
use_direct_azure_client = (
|
|
222
222
|
config.agent.experimental.responses_api_config.use_direct_azure_client
|
|
223
223
|
)
|
|
224
|
+
api_key_env_var = config.agent.experimental.responses_api_config.direct_azure_client_api_key_env_var
|
|
225
|
+
api_base_env_var = config.agent.experimental.responses_api_config.direct_azure_client_api_base_env_var
|
|
226
|
+
|
|
224
227
|
if use_direct_azure_client:
|
|
225
228
|
# TODO: (for testing only), remove when v1 endpoint is working
|
|
226
229
|
return AsyncOpenAI(
|
|
227
|
-
api_key=os.environ[
|
|
228
|
-
base_url=os.environ[
|
|
230
|
+
api_key=os.environ[api_key_env_var],
|
|
231
|
+
base_url=os.environ[api_base_env_var],
|
|
229
232
|
)
|
|
230
233
|
else:
|
|
231
234
|
return get_async_openai_client().copy(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|