unique_toolkit 2026.26.0.dev11__py3-none-any.whl → 2026.26.0.dev12__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/content/functions.py +5 -3
- {unique_toolkit-2026.26.0.dev11.dist-info → unique_toolkit-2026.26.0.dev12.dist-info}/METADATA +2 -2
- {unique_toolkit-2026.26.0.dev11.dist-info → unique_toolkit-2026.26.0.dev12.dist-info}/RECORD +4 -4
- {unique_toolkit-2026.26.0.dev11.dist-info → unique_toolkit-2026.26.0.dev12.dist-info}/WHEEL +0 -0
|
@@ -681,13 +681,15 @@ def request_content_by_id(
|
|
|
681
681
|
url = f"{url}?chatId={chat_id}"
|
|
682
682
|
|
|
683
683
|
# Download the file and save it to the random directory
|
|
684
|
-
headers = {
|
|
684
|
+
headers: dict[str, str] = {
|
|
685
685
|
"x-api-version": unique_sdk.api_version,
|
|
686
|
-
"x-app-id": unique_sdk.app_id,
|
|
687
686
|
"x-user-id": user_id,
|
|
688
687
|
"x-company-id": company_id,
|
|
689
|
-
"Authorization": "Bearer %s" % (unique_sdk.api_key,),
|
|
690
688
|
}
|
|
689
|
+
if unique_sdk.app_id:
|
|
690
|
+
headers["x-app-id"] = unique_sdk.app_id
|
|
691
|
+
if unique_sdk.api_key:
|
|
692
|
+
headers["Authorization"] = "Bearer %s" % (unique_sdk.api_key,)
|
|
691
693
|
|
|
692
694
|
return requests.get(url, headers=headers)
|
|
693
695
|
|
{unique_toolkit-2026.26.0.dev11.dist-info → unique_toolkit-2026.26.0.dev12.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: unique-toolkit
|
|
3
|
-
Version: 2026.26.0.
|
|
3
|
+
Version: 2026.26.0.dev12
|
|
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.26.0.
|
|
19
|
+
Requires-Dist: unique-sdk>=2026.26.0.dev17,<2026.26.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
|
{unique_toolkit-2026.26.0.dev11.dist-info → unique_toolkit-2026.26.0.dev12.dist-info}/RECORD
RENAMED
|
@@ -250,7 +250,7 @@ unique_toolkit/chat/state.py,sha256=Cjgwv_2vhDFbV69xxsn7SefhaoIAEqLx3ferdVFCnOg,
|
|
|
250
250
|
unique_toolkit/chat/utils.py,sha256=CsD9IER2gA1IOV0fmUOl-N0LmKvA7JP9dGrOqeOY0Gg,1173
|
|
251
251
|
unique_toolkit/content/__init__.py,sha256=nnQDfnNTEvI8-3dgWvIojoFDYU7edwd8Kloi6lMDG0M,1586
|
|
252
252
|
unique_toolkit/content/constants.py,sha256=1iy4Y67xobl5VTnJB6SxSyuoBWbdLl9244xfVMUZi5o,60
|
|
253
|
-
unique_toolkit/content/functions.py,sha256=
|
|
253
|
+
unique_toolkit/content/functions.py,sha256=avnlEQ1FkVz2NTbXUkafU04jzygqOJtUMQL605rEL4c,34019
|
|
254
254
|
unique_toolkit/content/schemas.py,sha256=iBorQu7OM9d1gNwky1oJv7krsAqbTst2_TrE7cQH0GA,10290
|
|
255
255
|
unique_toolkit/content/service.py,sha256=fR93_76aPczx2voxR7cvYDs_-pxD-Mc9WP6-5IqA8ko,28301
|
|
256
256
|
unique_toolkit/content/smart_rules.py,sha256=9GlHXm63POTi4jy5hW0qUjeqy-JSeL1wIbURM1GKhc4,11481
|
|
@@ -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.26.0.
|
|
403
|
-
unique_toolkit-2026.26.0.
|
|
404
|
-
unique_toolkit-2026.26.0.
|
|
402
|
+
unique_toolkit-2026.26.0.dev12.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
403
|
+
unique_toolkit-2026.26.0.dev12.dist-info/METADATA,sha256=_FunqCQItHSMzy8Sj8iVnWCFeEEIdvUta5-lNhKQUeY,7428
|
|
404
|
+
unique_toolkit-2026.26.0.dev12.dist-info/RECORD,,
|
|
File without changes
|