unique_toolkit 1.38.0__py3-none-any.whl → 1.38.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.
- unique_toolkit/language_model/infos.py +5 -0
- {unique_toolkit-1.38.0.dist-info → unique_toolkit-1.38.2.dist-info}/METADATA +8 -2
- {unique_toolkit-1.38.0.dist-info → unique_toolkit-1.38.2.dist-info}/RECORD +5 -5
- {unique_toolkit-1.38.0.dist-info → unique_toolkit-1.38.2.dist-info}/LICENSE +0 -0
- {unique_toolkit-1.38.0.dist-info → unique_toolkit-1.38.2.dist-info}/WHEEL +0 -0
|
@@ -269,6 +269,11 @@ class LanguageModelInfo(BaseModel):
|
|
|
269
269
|
|
|
270
270
|
@classmethod
|
|
271
271
|
def from_name(cls, model_name: LanguageModelName | str) -> Self:
|
|
272
|
+
if isinstance(model_name, str) and model_name in [
|
|
273
|
+
name.value for name in LanguageModelName
|
|
274
|
+
]:
|
|
275
|
+
model_name = LanguageModelName(model_name)
|
|
276
|
+
|
|
272
277
|
# Check environment variable first - env definitions take precedence
|
|
273
278
|
env_model_infos = cls._load_from_env()
|
|
274
279
|
model_name_str = (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: unique_toolkit
|
|
3
|
-
Version: 1.38.
|
|
3
|
+
Version: 1.38.2
|
|
4
4
|
Summary:
|
|
5
5
|
License: Proprietary
|
|
6
6
|
Author: Cedric Klinkert
|
|
@@ -27,7 +27,7 @@ Requires-Dist: regex (>=2024.5.15,<2025.0.0)
|
|
|
27
27
|
Requires-Dist: sseclient (>=0.0.27,<0.0.28)
|
|
28
28
|
Requires-Dist: tiktoken (>=0.12.0,<0.13.0)
|
|
29
29
|
Requires-Dist: typing-extensions (>=4.9.0,<5.0.0)
|
|
30
|
-
Requires-Dist: unique-sdk (>=0.10.
|
|
30
|
+
Requires-Dist: unique-sdk (>=0.10.58,<0.11.0)
|
|
31
31
|
Description-Content-Type: text/markdown
|
|
32
32
|
|
|
33
33
|
# Unique Toolkit
|
|
@@ -121,6 +121,12 @@ All notable changes to this project will be documented in this file.
|
|
|
121
121
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
122
122
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
123
123
|
|
|
124
|
+
## [1.38.2] - 2025-12-17
|
|
125
|
+
- Fixing bug that language model infos were not loaded correctly
|
|
126
|
+
|
|
127
|
+
## [1.38.1] - 2025-12-16
|
|
128
|
+
- chore(deps): Bump urllib3 from 2.5.0 to 2.6.2 and unique_sdk from 0.10.48 to 0.10.58 to ensure urllib3 transitively
|
|
129
|
+
|
|
124
130
|
## [1.38.0] - 2025-12-15
|
|
125
131
|
- Including capability to load LanguageModelInfos in env variable
|
|
126
132
|
|
|
@@ -194,7 +194,7 @@ unique_toolkit/language_model/builder.py,sha256=4OKfwJfj3TrgO1ezc_ewIue6W7BCQ2ZY
|
|
|
194
194
|
unique_toolkit/language_model/constants.py,sha256=B-topqW0r83dkC_25DeQfnPk3n53qzIHUCBS7YJ0-1U,119
|
|
195
195
|
unique_toolkit/language_model/default_language_model.py,sha256=-_DBsJhLCsFdaU4ynAkyW0jYIl2lhrPybZm1K-GgVJs,125
|
|
196
196
|
unique_toolkit/language_model/functions.py,sha256=PTBm2BBkuqISVHoyUqMIGHGXT-RMSAfz0F_Ylo2esQ8,18246
|
|
197
|
-
unique_toolkit/language_model/infos.py,sha256=
|
|
197
|
+
unique_toolkit/language_model/infos.py,sha256=1QLqwEOdo7uKkV1zJebj0wqmNn3xwiSlAOFw2h0g_ss,82985
|
|
198
198
|
unique_toolkit/language_model/prompt.py,sha256=JSawaLjQg3VR-E2fK8engFyJnNdk21zaO8pPIodzN4Q,3991
|
|
199
199
|
unique_toolkit/language_model/reference.py,sha256=nkX2VFz-IrUz8yqyc3G5jUMNwrNpxITBrMEKkbqqYoI,8583
|
|
200
200
|
unique_toolkit/language_model/schemas.py,sha256=ATiHjhfGxoubS332XuhL9PKSoFewcWvPTUVBaNGWlJo,23994
|
|
@@ -212,7 +212,7 @@ unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBu
|
|
|
212
212
|
unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
213
213
|
unique_toolkit/smart_rules/compile.py,sha256=Ozhh70qCn2yOzRWr9d8WmJeTo7AQurwd3tStgBMPFLA,1246
|
|
214
214
|
unique_toolkit/test_utilities/events.py,sha256=_mwV2bs5iLjxS1ynDCjaIq-gjjKhXYCK-iy3dRfvO3g,6410
|
|
215
|
-
unique_toolkit-1.38.
|
|
216
|
-
unique_toolkit-1.38.
|
|
217
|
-
unique_toolkit-1.38.
|
|
218
|
-
unique_toolkit-1.38.
|
|
215
|
+
unique_toolkit-1.38.2.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
|
216
|
+
unique_toolkit-1.38.2.dist-info/METADATA,sha256=2ZglK0rXlPIPEkPJIOui1aQlBND2oCzd-C72_7z1gN0,46611
|
|
217
|
+
unique_toolkit-1.38.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
218
|
+
unique_toolkit-1.38.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|