unique_toolkit 2026.46.0.dev10__py3-none-any.whl → 2026.46.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/agentic/tools/mcp/tool_wrapper.py +2 -0
- unique_toolkit/agentic/tools/openai_builtin/code_interpreter/postprocessors/artifacts.py +3 -1
- unique_toolkit/content/constants.py +4 -0
- unique_toolkit/language_model/infos.py +29 -0
- {unique_toolkit-2026.46.0.dev10.dist-info → unique_toolkit-2026.46.0.dev12.dist-info}/METADATA +2 -2
- {unique_toolkit-2026.46.0.dev10.dist-info → unique_toolkit-2026.46.0.dev12.dist-info}/RECORD +7 -7
- {unique_toolkit-2026.46.0.dev10.dist-info → unique_toolkit-2026.46.0.dev12.dist-info}/WHEEL +0 -0
|
@@ -17,6 +17,7 @@ from unique_toolkit.agentic.tools.tool_progress_reporter import ToolProgressRepo
|
|
|
17
17
|
from unique_toolkit.app.schemas import ChatEvent, McpServer, McpTool
|
|
18
18
|
from unique_toolkit.chat.schemas import MessageLog, MessageLogStatus
|
|
19
19
|
from unique_toolkit.chat.service import ChatService
|
|
20
|
+
from unique_toolkit.content.constants import ASSISTANT_GENERATED_METADATA_KEY
|
|
20
21
|
from unique_toolkit.content.functions import upload_content_from_bytes
|
|
21
22
|
from unique_toolkit.content.schemas import ContentChunk, ContentReference
|
|
22
23
|
from unique_toolkit.language_model import LanguageModelService
|
|
@@ -370,6 +371,7 @@ class MCPToolWrapper(Tool[MCPToolConfig]):
|
|
|
370
371
|
chat_id=self._event.payload.chat_id,
|
|
371
372
|
skip_ingestion=True,
|
|
372
373
|
hide_in_chat=True,
|
|
374
|
+
metadata={ASSISTANT_GENERATED_METADATA_KEY: True},
|
|
373
375
|
)
|
|
374
376
|
content_id = content.id
|
|
375
377
|
except Exception as e:
|
|
@@ -18,6 +18,7 @@ from unique_toolkit.agentic.tools.openai_builtin.code_interpreter.postprocessors
|
|
|
18
18
|
from unique_toolkit.agentic.tools.openai_builtin.code_interpreter.schemas import (
|
|
19
19
|
CodeInterpreterContainerFile,
|
|
20
20
|
)
|
|
21
|
+
from unique_toolkit.content.constants import ASSISTANT_GENERATED_METADATA_KEY
|
|
21
22
|
from unique_toolkit.content.schemas import Content
|
|
22
23
|
from unique_toolkit.log_redaction import redact_filename
|
|
23
24
|
|
|
@@ -71,7 +72,8 @@ def _artifact_metadata(
|
|
|
71
72
|
container_id=file.container_id,
|
|
72
73
|
file_id=file.file_id,
|
|
73
74
|
filepath=f"/mnt/data/{file.filename}",
|
|
74
|
-
).model_dump()
|
|
75
|
+
).model_dump(),
|
|
76
|
+
ASSISTANT_GENERATED_METADATA_KEY: True,
|
|
75
77
|
}
|
|
76
78
|
|
|
77
79
|
|
|
@@ -166,6 +166,7 @@ class LanguageModelName(StrEnum):
|
|
|
166
166
|
LITELLM_PHOENIQS_LLAMA_4_MAVERICK = "litellm:phoeniqs-llama-4-maverick"
|
|
167
167
|
LITELLM_KIMI_K2_6 = "litellm:kimi-k2.6"
|
|
168
168
|
LITELLM_KIMI_K3 = "litellm:kimi-k3"
|
|
169
|
+
LITELLM_KIMI_K3_1_PRO = "litellm:kimi-k3.1-pro"
|
|
169
170
|
LITELLM_QWEN_3 = "litellm:qwen-3-235B-A22B"
|
|
170
171
|
LITELLM_QWEN_3_THINKING = "litellm:qwen-3-235B-A22B-thinking"
|
|
171
172
|
VERTEX_CLAUDE_HAIKU_5_5 = "litellm:vertex-claude-haiku-5-5"
|
|
@@ -3776,6 +3777,34 @@ class LanguageModelInfo(BaseModel):
|
|
|
3776
3777
|
default_options={"reasoning_effort": "medium"},
|
|
3777
3778
|
supported_reasoning_efforts=["low", "medium", "high", "max"],
|
|
3778
3779
|
)
|
|
3780
|
+
case LanguageModelName.LITELLM_KIMI_K3_1_PRO:
|
|
3781
|
+
return cls(
|
|
3782
|
+
name=model_name,
|
|
3783
|
+
provider=LanguageModelProvider.LITELLM,
|
|
3784
|
+
family=ModelFamily.KIMI,
|
|
3785
|
+
version="kimi-k3.1-pro",
|
|
3786
|
+
encoder_name=EncoderName.O200K_BASE,
|
|
3787
|
+
capabilities=[
|
|
3788
|
+
ModelCapabilities.FUNCTION_CALLING,
|
|
3789
|
+
ModelCapabilities.STRUCTURED_OUTPUT,
|
|
3790
|
+
ModelCapabilities.REASONING,
|
|
3791
|
+
ModelCapabilities.STREAMING,
|
|
3792
|
+
ModelCapabilities.VISION,
|
|
3793
|
+
],
|
|
3794
|
+
# Context window is 1,048,576. max_completion_tokens
|
|
3795
|
+
# defaults to 131,072 and can be raised up to that window.
|
|
3796
|
+
# https://platform.kimi.ai/docs/guide/kimi-k3-1-pro-quickstart
|
|
3797
|
+
token_limits=LanguageModelTokenLimits(
|
|
3798
|
+
token_limit_input=1_048_576,
|
|
3799
|
+
token_limit_output=131_072,
|
|
3800
|
+
),
|
|
3801
|
+
published_at=date(2026, 10, 23),
|
|
3802
|
+
# Thinking is always on. Accepted efforts are low, high,
|
|
3803
|
+
# and max; the API default is max.
|
|
3804
|
+
# https://platform.kimi.ai/docs/api/models-overview
|
|
3805
|
+
default_options={"reasoning_effort": "max"},
|
|
3806
|
+
supported_reasoning_efforts=["low", "high", "max"],
|
|
3807
|
+
)
|
|
3779
3808
|
case LanguageModelName.LITELLM_QWEN_3:
|
|
3780
3809
|
return cls(
|
|
3781
3810
|
name=model_name,
|
{unique_toolkit-2026.46.0.dev10.dist-info → unique_toolkit-2026.46.0.dev12.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: unique-toolkit
|
|
3
|
-
Version: 2026.46.0.
|
|
3
|
+
Version: 2026.46.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.46.0.
|
|
19
|
+
Requires-Dist: unique-sdk>=2026.46.0.dev6,<2026.46.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.46.0.dev10.dist-info → unique_toolkit-2026.46.0.dev12.dist-info}/RECORD
RENAMED
|
@@ -209,7 +209,7 @@ unique_toolkit/agentic/tools/factory.py,sha256=YK9uh2EqotQFb9stsXs-A8lsNaxklTCd_
|
|
|
209
209
|
unique_toolkit/agentic/tools/mcp/__init__.py,sha256=RLF_p-LDRC7GhiB3fdCi4u3bh6V9PY_w26fg61BLyco,122
|
|
210
210
|
unique_toolkit/agentic/tools/mcp/manager.py,sha256=EfWbfNhB8Lnx2EqBgUXhK7klFLaBv2eezvYq8J0TXyo,3808
|
|
211
211
|
unique_toolkit/agentic/tools/mcp/models.py,sha256=DaBVzwJ4dqtgzm8Mv0-NOGBU04zyVe-RgWntBhkpmnE,742
|
|
212
|
-
unique_toolkit/agentic/tools/mcp/tool_wrapper.py,sha256=
|
|
212
|
+
unique_toolkit/agentic/tools/mcp/tool_wrapper.py,sha256=gP8UYYKQQ13KYc5i6VL7pBiWf28RhVeCQxCfWaOMpVQ,15936
|
|
213
213
|
unique_toolkit/agentic/tools/names.py,sha256=MDF0ONLrxeC-iz--EtyrHAox_RN6zasxo5MSbXQYGyw,412
|
|
214
214
|
unique_toolkit/agentic/tools/openai_builtin/__init__.py,sha256=Q6d9mhsLRVF3erT2yMxLld62D3FTZ8nbovI4vLv4Nso,701
|
|
215
215
|
unique_toolkit/agentic/tools/openai_builtin/base.py,sha256=QWF-GL_fkJqzGPpxvtg69-TB_IjsrxokeJVQESzH-18,1415
|
|
@@ -224,7 +224,7 @@ unique_toolkit/agentic/tools/openai_builtin/code_interpreter/builder/_memory.py,
|
|
|
224
224
|
unique_toolkit/agentic/tools/openai_builtin/code_interpreter/builder/builder.py,sha256=QFvfJT7PE6XIf1mftURptTevOmYBp5Ln_eIsro5O7s8,6546
|
|
225
225
|
unique_toolkit/agentic/tools/openai_builtin/code_interpreter/config.py,sha256=C4Vrj_xLgLB8AEUz-cp0JpXAIwYwz-VaSRh-xAG7PW8,2381
|
|
226
226
|
unique_toolkit/agentic/tools/openai_builtin/code_interpreter/postprocessors/__init__.py,sha256=SzEiUqxIw8D4_51SvTt-8oTOYTGirYkmH4J6SgojzME,634
|
|
227
|
-
unique_toolkit/agentic/tools/openai_builtin/code_interpreter/postprocessors/artifacts.py,sha256=
|
|
227
|
+
unique_toolkit/agentic/tools/openai_builtin/code_interpreter/postprocessors/artifacts.py,sha256=Y2Nja1TcLHoFsAZfdG0iGprcNN6co_6PVx7XQKdN1RQ,7110
|
|
228
228
|
unique_toolkit/agentic/tools/openai_builtin/code_interpreter/postprocessors/code_display.py,sha256=Q1XI_Wi2Lg8Vn31nGTtu6YHOyz9QBFwI6d9MBYGhkW8,3425
|
|
229
229
|
unique_toolkit/agentic/tools/openai_builtin/code_interpreter/postprocessors/generated_files.py,sha256=Gz-s9YT0fSQTX5axsDjr8F1ByViiPlhBhwdA4ynWtro,67828
|
|
230
230
|
unique_toolkit/agentic/tools/openai_builtin/code_interpreter/postprocessors/office_preview.py,sha256=2-u9NlNRyQ7PC5b6vW_5CypzVbfNUWRd9DAbCSKE4qk,5099
|
|
@@ -276,7 +276,7 @@ unique_toolkit/chat/service.py,sha256=6D00OL4QrGafbOhTaC5zNXaNgg7gS5W_2ePVa4Lhqp
|
|
|
276
276
|
unique_toolkit/chat/state.py,sha256=Cjgwv_2vhDFbV69xxsn7SefhaoIAEqLx3ferdVFCnOg,1445
|
|
277
277
|
unique_toolkit/chat/utils.py,sha256=CsD9IER2gA1IOV0fmUOl-N0LmKvA7JP9dGrOqeOY0Gg,1173
|
|
278
278
|
unique_toolkit/content/__init__.py,sha256=yeVVqHjltRii_XwPOX2uId2kHF0_wCcSC4jwalv_5g8,1707
|
|
279
|
-
unique_toolkit/content/constants.py,sha256=
|
|
279
|
+
unique_toolkit/content/constants.py,sha256=GvyazpNv4M2UJFdsLIo7Z5dVSPERPTqslRAA8VgQw-M,235
|
|
280
280
|
unique_toolkit/content/functions.py,sha256=fLEueWbiMOOO43HxnltqdRR_Et9JoQCjnCm5WZA94DY,36284
|
|
281
281
|
unique_toolkit/content/schemas.py,sha256=sYkXvP7SItHbaVvnU8HKgBPgQdJemPk3fgonDOvROpQ,12955
|
|
282
282
|
unique_toolkit/content/service.py,sha256=mZZtIm23dK6ZXI66V98dbYMwMvIjdKuhc-EnKnPczzI,31591
|
|
@@ -403,7 +403,7 @@ unique_toolkit/language_model/constants.py,sha256=B-topqW0r83dkC_25DeQfnPk3n53qz
|
|
|
403
403
|
unique_toolkit/language_model/default_language_model.py,sha256=mcyuFs_V6tp52C8xJSHiEHO4kFGj6xed1gvozvCRD7k,1181
|
|
404
404
|
unique_toolkit/language_model/errors.py,sha256=0nm4psGCGJM2B7LIyKXy7WuswRzwARIgIK5xoC4xo34,3186
|
|
405
405
|
unique_toolkit/language_model/functions.py,sha256=6Le6dDm9su6xk3sQ8IPiyUn2tf1qvzxHVUhyTTgP8Kw,28109
|
|
406
|
-
unique_toolkit/language_model/infos.py,sha256=
|
|
406
|
+
unique_toolkit/language_model/infos.py,sha256=nWm0X3Kjeyam4EfA6ALbuJ8wYxvA5zL8_Z89JYniMf8,189850
|
|
407
407
|
unique_toolkit/language_model/invocation_stats.py,sha256=CQbpUz394IsVd8eNTB1gPSMt5f0UXmkN1amNsqtAW6U,5857
|
|
408
408
|
unique_toolkit/language_model/model_costs.py,sha256=AVHAuMTzsglzusWsVF_xwBVEndST-TVCVi0H49OhdvE,7419
|
|
409
409
|
unique_toolkit/language_model/prompt.py,sha256=JSawaLjQg3VR-E2fK8engFyJnNdk21zaO8pPIodzN4Q,3991
|
|
@@ -434,6 +434,6 @@ unique_toolkit/short_term_memory/service.py,sha256=2JMBEBn6GoyK-a0xvdcWpPft-3C74
|
|
|
434
434
|
unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
435
435
|
unique_toolkit/smart_rules/compile.py,sha256=vRe0aMJWuVIK-VsqomgxQImzke7MDmwgSxxJfYCa7zw,1386
|
|
436
436
|
unique_toolkit/test_utilities/events.py,sha256=FLrhMh0A_mQutAUjoD0FdMcVQ4Gq31r35OVGzRjvLro,6760
|
|
437
|
-
unique_toolkit-2026.46.0.
|
|
438
|
-
unique_toolkit-2026.46.0.
|
|
439
|
-
unique_toolkit-2026.46.0.
|
|
437
|
+
unique_toolkit-2026.46.0.dev12.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
438
|
+
unique_toolkit-2026.46.0.dev12.dist-info/METADATA,sha256=5RGyewOLvyAYmv9_f6KxP2Dg6m3pyTIQzKucFSrRFCM,7822
|
|
439
|
+
unique_toolkit-2026.46.0.dev12.dist-info/RECORD,,
|
|
File without changes
|