unique_orchestrator 1.4.0__py3-none-any.whl → 1.4.2__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.

@@ -245,7 +245,15 @@ class ResponsesApiConfig(BaseModel):
245
245
 
246
246
  use_direct_azure_client: SkipJsonSchema[bool] = Field(
247
247
  default=True,
248
- description="Temporary",
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(tool_call_responses)
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
@@ -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["OPENAI_API_KEY"],
228
- base_url=os.environ["OPENAI_BASE_URL"],
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(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_orchestrator
3
- Version: 1.4.0
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.0,<2.0.0)
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
 
@@ -0,0 +1,11 @@
1
+ unique_orchestrator/config.py,sha256=n6kPZ4yjk3gVmGZNq4YHmwc-D43XhpzuLBqYZXKunz8,11070
2
+ unique_orchestrator/prompts/generic_reference_prompt.jinja2,sha256=fYPaiE-N1gSoOqu85OeEBa_ttAim8grOhHuOHJjSHNU,2663
3
+ unique_orchestrator/prompts/system_prompt.jinja2,sha256=YXFdx3PG2p4TKfjEpz7guIw2GaKoY-4zRMEzXaKhHXE,7213
4
+ unique_orchestrator/prompts/user_message_prompt.jinja2,sha256=BQokpBh3H2J-rFk8i-PRph3jy4T1gAJPPb1mxxRWNuM,878
5
+ unique_orchestrator/tests/test_unique_ai_reference_order.py,sha256=8mZeVP1k8neH4qrFW3oa3zwIdaq2c7R1VvurC7kjBU8,4445
6
+ unique_orchestrator/unique_ai.py,sha256=PqeDaXtr2krqQ_xqhr1Kb9j0A3rPaCT0BqIvnJlFVbU,18845
7
+ unique_orchestrator/unique_ai_builder.py,sha256=dMAGa2BlEfQpkW9DCIp981IEKBsURBG1iF19A2n_hQo,15974
8
+ unique_orchestrator-1.4.2.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
9
+ unique_orchestrator-1.4.2.dist-info/METADATA,sha256=mKva7R_P8jBH3EFxQjYIYAuXpGBQi7pfD1T_rYcawaU,2778
10
+ unique_orchestrator-1.4.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
11
+ unique_orchestrator-1.4.2.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- unique_orchestrator/config.py,sha256=szJtEPLAOzpBV955boJYmQguu_bRc1gXQd-6lMysTNs,10546
2
- unique_orchestrator/prompts/generic_reference_prompt.jinja2,sha256=fYPaiE-N1gSoOqu85OeEBa_ttAim8grOhHuOHJjSHNU,2663
3
- unique_orchestrator/prompts/system_prompt.jinja2,sha256=YXFdx3PG2p4TKfjEpz7guIw2GaKoY-4zRMEzXaKhHXE,7213
4
- unique_orchestrator/prompts/user_message_prompt.jinja2,sha256=BQokpBh3H2J-rFk8i-PRph3jy4T1gAJPPb1mxxRWNuM,878
5
- unique_orchestrator/tests/test_unique_ai_reference_order.py,sha256=8mZeVP1k8neH4qrFW3oa3zwIdaq2c7R1VvurC7kjBU8,4445
6
- unique_orchestrator/unique_ai.py,sha256=7jnFkWbjm4musN7LTK03Ewwny9de_HrQ1kpcXzLeFfo,18793
7
- unique_orchestrator/unique_ai_builder.py,sha256=wfZeF9pqbxLqroKWJugJldHaZ3S4WQCot7uBECB4tic,15763
8
- unique_orchestrator-1.4.0.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
9
- unique_orchestrator-1.4.0.dist-info/METADATA,sha256=k1Y61MlrfhwKQL9TU4d9r6Izj8tC06Z8kBBIgskfz6A,2629
10
- unique_orchestrator-1.4.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
11
- unique_orchestrator-1.4.0.dist-info/RECORD,,