unique_toolkit 1.1.8__py3-none-any.whl → 1.1.9__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.
- unique_toolkit/language_model/schemas.py +4 -3
- {unique_toolkit-1.1.8.dist-info → unique_toolkit-1.1.9.dist-info}/METADATA +5 -1
- {unique_toolkit-1.1.8.dist-info → unique_toolkit-1.1.9.dist-info}/RECORD +5 -5
- {unique_toolkit-1.1.8.dist-info → unique_toolkit-1.1.9.dist-info}/LICENSE +0 -0
- {unique_toolkit-1.1.8.dist-info → unique_toolkit-1.1.9.dist-info}/WHEEL +0 -0
@@ -80,13 +80,14 @@ class LanguageModelFunction(BaseModel):
|
|
80
80
|
|
81
81
|
@field_validator("id", mode="before")
|
82
82
|
def randomize_id(cls, value):
|
83
|
-
|
83
|
+
if not value:
|
84
|
+
return uuid4().hex
|
85
|
+
else:
|
86
|
+
return value
|
84
87
|
|
85
88
|
@model_serializer()
|
86
89
|
def serialize_model(self):
|
87
90
|
seralization = {}
|
88
|
-
if self.id:
|
89
|
-
seralization["id"] = self.id
|
90
91
|
seralization["name"] = self.name
|
91
92
|
if self.arguments:
|
92
93
|
seralization["arguments"] = json.dumps(self.arguments)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: unique_toolkit
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.9
|
4
4
|
Summary:
|
5
5
|
License: Proprietary
|
6
6
|
Author: Cedric Klinkert
|
@@ -118,6 +118,10 @@ All notable changes to this project will be documented in this file.
|
|
118
118
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
119
119
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
120
120
|
|
121
|
+
|
122
|
+
## [1.1.9] - 2025-09-24
|
123
|
+
- Fix bug in `LanguageModelFunction` to extend support mistral tool calling.
|
124
|
+
|
121
125
|
## [1.1.8] - 2025-09-23
|
122
126
|
- Revert last to version 1.1.6
|
123
127
|
|
@@ -117,7 +117,7 @@ unique_toolkit/language_model/functions.py,sha256=PNCmbYovhgMSkY89p7-3DunG6jIeka
|
|
117
117
|
unique_toolkit/language_model/infos.py,sha256=eHln--Y5f6znFxknV6A8m-fRaEpH5-kmRh9m-ZWqco4,57188
|
118
118
|
unique_toolkit/language_model/prompt.py,sha256=JSawaLjQg3VR-E2fK8engFyJnNdk21zaO8pPIodzN4Q,3991
|
119
119
|
unique_toolkit/language_model/reference.py,sha256=nkX2VFz-IrUz8yqyc3G5jUMNwrNpxITBrMEKkbqqYoI,8583
|
120
|
-
unique_toolkit/language_model/schemas.py,sha256=
|
120
|
+
unique_toolkit/language_model/schemas.py,sha256=w23zH2OAYkTsS-wAqelUdhO9TCgis0TbFa8PszmhZYY,16501
|
121
121
|
unique_toolkit/language_model/service.py,sha256=JkYGtCug8POQskTv_aoYkzTMOaPCWRM94y73o3bUttQ,12019
|
122
122
|
unique_toolkit/language_model/utils.py,sha256=bPQ4l6_YO71w-zaIPanUUmtbXC1_hCvLK0tAFc3VCRc,1902
|
123
123
|
unique_toolkit/protocols/support.py,sha256=V15WEIFKVMyF1QCnR8vIi4GrJy4dfTCB6d6JlqPZ58o,2341
|
@@ -128,7 +128,7 @@ unique_toolkit/short_term_memory/schemas.py,sha256=OhfcXyF6ACdwIXW45sKzjtZX_gkcJ
|
|
128
128
|
unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBuE9sI2o9Aajqjxg,8884
|
129
129
|
unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
130
130
|
unique_toolkit/smart_rules/compile.py,sha256=cxWjb2dxEI2HGsakKdVCkSNi7VK9mr08w5sDcFCQyWI,9553
|
131
|
-
unique_toolkit-1.1.
|
132
|
-
unique_toolkit-1.1.
|
133
|
-
unique_toolkit-1.1.
|
134
|
-
unique_toolkit-1.1.
|
131
|
+
unique_toolkit-1.1.9.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
132
|
+
unique_toolkit-1.1.9.dist-info/METADATA,sha256=JJj0at_SuqInlxB-H3JsqfeDCr8plGSyR2TFVcjuVdU,33207
|
133
|
+
unique_toolkit-1.1.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
134
|
+
unique_toolkit-1.1.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|