unique_toolkit 2026.28.0.dev0__py3-none-any.whl → 2026.28.0.dev1__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.
@@ -30,12 +30,12 @@ class ResponsesToolCallEventHandler:
30
30
  self._tool_calls: list[LanguageModelFunction] = []
31
31
 
32
32
  async def on_output_item_added(self, event: ResponseOutputItemAddedEvent) -> None:
33
- from openai.types.responses.response_function_tool_call_item import (
34
- ResponseFunctionToolCallItem,
33
+ from openai.types.responses.response_function_tool_call import (
34
+ ResponseFunctionToolCall,
35
35
  )
36
36
 
37
37
  item = event.item
38
- if isinstance(item, ResponseFunctionToolCallItem):
38
+ if isinstance(item, ResponseFunctionToolCall) and item.id is not None:
39
39
  self._function_name_by_item_id[item.id] = item.name
40
40
 
41
41
  async def on_function_arguments_done(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: unique-toolkit
3
- Version: 2026.28.0.dev0
3
+ Version: 2026.28.0.dev1
4
4
  Summary:
5
5
  Author: Cedric Klinkert, Martin Fadler, Sadique Sheik, Fabian Schläpfer, Pascal Hauri, Ejiroghene Oki-Peter, Rami Azouz, Ricardo Visini, Sanzio Monti
6
6
  Author-email: Cedric Klinkert <cedric.klinkert@unique.ch>, Martin Fadler <martin.fadler@unique.ch>, Sadique Sheik <sadique@unique.ch>, Fabian Schläpfer <fabian@unique.ch>, Pascal Hauri <pascal@unique.ch>, Ejiroghene Oki-Peter <oki-peter.ejiroghene@unique.ai>, Rami Azouz <rami.ext@unique.ch>, Ricardo Visini <ricardo.visini@unique.ch>, Sanzio Monti <sanzio.monti@unique.ai>
@@ -16,7 +16,7 @@ Requires-Dist: sseclient>=0.0.27,<0.0.28
16
16
  Requires-Dist: openai>=1.105.0,<3
17
17
  Requires-Dist: platformdirs>=4.0.0,<5
18
18
  Requires-Dist: pillow>=12.1.1
19
- Requires-Dist: unique-sdk>=2026.28.0.dev0,<2026.28.0rc0
19
+ Requires-Dist: unique-sdk>=2026.28.0.dev2,<2026.28.0rc0
20
20
  Requires-Dist: jambo>=0.1.2,<0.2
21
21
  Requires-Dist: jinja2>=3.1.6,<4
22
22
  Requires-Dist: docxtpl>=0.20.1,<0.21
@@ -327,7 +327,7 @@ unique_toolkit/experimental/integrations/openai/streaming/event_routing/response
327
327
  unique_toolkit/experimental/integrations/openai/streaming/event_routing/responses/completed_event_handler.py,sha256=N_ZO79XbKSHvUqQFxWsEvCc6w5kglcP4oTq-uRz5w34,1475
328
328
  unique_toolkit/experimental/integrations/openai/streaming/event_routing/responses/stream_event_router.py,sha256=hvQHDPmfYD-ZDRR5W079TFYEgQ-vhIGMNRyagiG6RzM,8280
329
329
  unique_toolkit/experimental/integrations/openai/streaming/event_routing/responses/text_delta_event_handler.py,sha256=JB-7W89K4pT6K8A9Z_f_Pow5p-EIGwLoLUSb9BI3qW4,3634
330
- unique_toolkit/experimental/integrations/openai/streaming/event_routing/responses/tool_call_event_handler.py,sha256=Q1178f-PF1-tM2U54-f7MOqCspEaZsTFczQ5wo-JUgA,3187
330
+ unique_toolkit/experimental/integrations/openai/streaming/event_routing/responses/tool_call_event_handler.py,sha256=iELT-H3-u6eG3D3X9Qz0QfTlDj-IfHBAq7bWYR7Dd5U,3198
331
331
  unique_toolkit/experimental/integrations/openai/streaming/event_routing/subscribers/__init__.py,sha256=4wpUt9kzfPzncO9tlKcvOQUzQG5e6kVp5AKZI5grxOk,276
332
332
  unique_toolkit/experimental/integrations/openai/streaming/event_routing/subscribers/message_persister.py,sha256=nHh2vQWF6YWurdkijof6UXhTMFzllj_4eSdr8nm9aDI,8016
333
333
  unique_toolkit/experimental/integrations/openai/streaming/event_routing/subscribers/progress_log_persister.py,sha256=VCYGZY3WSpI7mvVs2gO89-M0JenakW01BGfBfFkPDrw,3499
@@ -399,6 +399,6 @@ unique_toolkit/short_term_memory/service.py,sha256=Qo-c9yxzC1ZEEHJyIG_vnRs_ef0SK
399
399
  unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
400
400
  unique_toolkit/smart_rules/compile.py,sha256=vRe0aMJWuVIK-VsqomgxQImzke7MDmwgSxxJfYCa7zw,1386
401
401
  unique_toolkit/test_utilities/events.py,sha256=FLrhMh0A_mQutAUjoD0FdMcVQ4Gq31r35OVGzRjvLro,6760
402
- unique_toolkit-2026.28.0.dev0.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
403
- unique_toolkit-2026.28.0.dev0.dist-info/METADATA,sha256=hDUFKqr2KXJT5J9AiTntTKCXt3ZV8rX1Ex9_19_5mUA,7426
404
- unique_toolkit-2026.28.0.dev0.dist-info/RECORD,,
402
+ unique_toolkit-2026.28.0.dev1.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
403
+ unique_toolkit-2026.28.0.dev1.dist-info/METADATA,sha256=9_-Pt8xbGisiMP1DrYdlrlrn5yIYHbS0Bbo_5ZOWn-Q,7426
404
+ unique_toolkit-2026.28.0.dev1.dist-info/RECORD,,