unique_toolkit 0.8.40__py3-none-any.whl → 0.8.42__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/_common/chunk_relevancy_sorter/config.py +5 -3
- unique_toolkit/tools/a2a/service.py +4 -0
- {unique_toolkit-0.8.40.dist-info → unique_toolkit-0.8.42.dist-info}/METADATA +7 -1
- {unique_toolkit-0.8.40.dist-info → unique_toolkit-0.8.42.dist-info}/RECORD +6 -6
- {unique_toolkit-0.8.40.dist-info → unique_toolkit-0.8.42.dist-info}/LICENSE +0 -0
- {unique_toolkit-0.8.40.dist-info → unique_toolkit-0.8.42.dist-info}/WHEEL +0 -0
@@ -1,7 +1,6 @@
|
|
1
|
-
from typing import Any
|
1
|
+
from typing import Annotated, Any
|
2
2
|
|
3
3
|
from pydantic import BaseModel, Field
|
4
|
-
from pydantic.json_schema import SkipJsonSchema
|
5
4
|
|
6
5
|
from unique_toolkit._common.default_language_model import DEFAULT_GPT_35_TURBO
|
7
6
|
from unique_toolkit._common.validators import LMI, get_LMI_default_field
|
@@ -39,7 +38,10 @@ class ChunkRelevancySortConfig(BaseModel):
|
|
39
38
|
default_factory=StructuredOutputConfig,
|
40
39
|
description="The configuration for the structured output.",
|
41
40
|
)
|
42
|
-
max_tasks:
|
41
|
+
max_tasks: (
|
42
|
+
Annotated[int, Field(title="Limited")]
|
43
|
+
| Annotated[None, Field(title="Unlimited")]
|
44
|
+
) = Field(
|
43
45
|
default=1000,
|
44
46
|
description="The maximum number of tasks to run in parallel.",
|
45
47
|
)
|
@@ -16,6 +16,7 @@ from unique_toolkit.tools.a2a.schema import (
|
|
16
16
|
SubAgentShortTermMemorySchema,
|
17
17
|
SubAgentToolInput,
|
18
18
|
)
|
19
|
+
from unique_toolkit.tools.factory import ToolFactory
|
19
20
|
from unique_toolkit.tools.schemas import ToolCallResponse
|
20
21
|
from unique_toolkit.tools.tool import Tool
|
21
22
|
from unique_toolkit.tools.tool_progress_reporter import (
|
@@ -150,3 +151,6 @@ class SubAgentTool(Tool[SubAgentToolConfig]):
|
|
150
151
|
name=tool_response.name,
|
151
152
|
content=tool_response.content,
|
152
153
|
)
|
154
|
+
|
155
|
+
|
156
|
+
ToolFactory.register_tool(SubAgentTool, SubAgentToolConfig)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: unique_toolkit
|
3
|
-
Version: 0.8.
|
3
|
+
Version: 0.8.42
|
4
4
|
Summary:
|
5
5
|
License: Proprietary
|
6
6
|
Author: Martin Fadler
|
@@ -117,6 +117,12 @@ All notable changes to this project will be documented in this file.
|
|
117
117
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
118
118
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
119
119
|
|
120
|
+
## [0.8.42] - 2025-09-02
|
121
|
+
- updated schema of `chunk_relevancy_sorter`
|
122
|
+
|
123
|
+
## [0.8.41] - 2025-09-02
|
124
|
+
- Make A2A tool auto register with tool factory
|
125
|
+
|
120
126
|
## [0.8.40] - 2025-09-02
|
121
127
|
- Add frontend compatible type for pydantic BaseModel types in pydantic BaseModels
|
122
128
|
|
@@ -2,7 +2,7 @@ unique_toolkit/__init__.py,sha256=nbOYPIKERt-ITsgifrnJhatn1YNR38Ntumw-dCn_tsA,71
|
|
2
2
|
unique_toolkit/_common/_base_service.py,sha256=S8H0rAebx7GsOldA7xInLp3aQJt9yEPDQdsGSFRJsGg,276
|
3
3
|
unique_toolkit/_common/_time_utils.py,sha256=ztmTovTvr-3w71Ns2VwXC65OKUUh-sQlzbHdKTQWm-w,135
|
4
4
|
unique_toolkit/_common/base_model_type_attribute.py,sha256=7rzVqjXa0deYEixeo_pJSJcQ7nKXpWK_UGpOiEH3yZY,10382
|
5
|
-
unique_toolkit/_common/chunk_relevancy_sorter/config.py,sha256=
|
5
|
+
unique_toolkit/_common/chunk_relevancy_sorter/config.py,sha256=XRGntzGNhDmddaCqiLY6pcOiBZPUt7AHHx5sTyrqyHQ,1787
|
6
6
|
unique_toolkit/_common/chunk_relevancy_sorter/exception.py,sha256=1mY4zjbvnXsd5oIxwiVsma09bS2XRnHrxW8KJBGtgCM,126
|
7
7
|
unique_toolkit/_common/chunk_relevancy_sorter/schemas.py,sha256=doAWPPx8d0zIqHMXmnJy47Z5_NlblJBhMqo8KE7fyyc,1329
|
8
8
|
unique_toolkit/_common/chunk_relevancy_sorter/service.py,sha256=UxYn4xJMNEXQ1afMiT2sMwXgdmlFNPaglVhx6CRRtiM,13864
|
@@ -113,7 +113,7 @@ unique_toolkit/tools/a2a/config.py,sha256=DKerB7gJ0oUFfqdvVN4I174EZYfYzt7ET2NYGk
|
|
113
113
|
unique_toolkit/tools/a2a/manager.py,sha256=-Vt0pL886zMaaG4sGQhXmbwOhOL928WbZzm4FRZuZMM,1666
|
114
114
|
unique_toolkit/tools/a2a/memory.py,sha256=F18kUA3m3NqoKdKAJSwDv8JQneHvZTGOkcZTLNMXAYs,1004
|
115
115
|
unique_toolkit/tools/a2a/schema.py,sha256=1R7qIu2l2qnUJDGRuUnZLqPPkHnT3x4d3d4PALoBzcY,296
|
116
|
-
unique_toolkit/tools/a2a/service.py,sha256
|
116
|
+
unique_toolkit/tools/a2a/service.py,sha256=05_9olz77Aw1RIUtnFsHHZSFfjZV7f2BJ8Q8maBhA9k,5270
|
117
117
|
unique_toolkit/tools/agent_chunks_hanlder.py,sha256=x32Dp1Z8cVW5i-XzXbaMwX2KHPcNGmqEU-FB4AV9ZGo,1909
|
118
118
|
unique_toolkit/tools/config.py,sha256=nYwglwUSb3fxhqYxI83k-qoecuF5Zcol5FMOxHvTNeE,3827
|
119
119
|
unique_toolkit/tools/factory.py,sha256=w3uNHuYBIJ330Xi8PTdAkr8G3OMbQH2cBgvk5UT16oE,1253
|
@@ -131,7 +131,7 @@ unique_toolkit/tools/utils/execution/execution.py,sha256=vjG2Y6awsGNtlvyQAGCTthQ
|
|
131
131
|
unique_toolkit/tools/utils/source_handling/schema.py,sha256=vzAyf6ZWNexjMO0OrnB8y2glGkvAilmGGQXd6zcDaKw,870
|
132
132
|
unique_toolkit/tools/utils/source_handling/source_formatting.py,sha256=C7uayNbdkNVJdEARA5CENnHtNY1SU6etlaqbgHNyxaQ,9152
|
133
133
|
unique_toolkit/tools/utils/source_handling/tests/test_source_formatting.py,sha256=oM5ZxEgzROrnX1229KViCAFjRxl9wCTzWZoinYSHleM,6979
|
134
|
-
unique_toolkit-0.8.
|
135
|
-
unique_toolkit-0.8.
|
136
|
-
unique_toolkit-0.8.
|
137
|
-
unique_toolkit-0.8.
|
134
|
+
unique_toolkit-0.8.42.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
135
|
+
unique_toolkit-0.8.42.dist-info/METADATA,sha256=QQPAhHh0vIc_d9P6DrmlSBSkhVLnCmqs8mFjVlPyHc4,30418
|
136
|
+
unique_toolkit-0.8.42.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
137
|
+
unique_toolkit-0.8.42.dist-info/RECORD,,
|
File without changes
|
File without changes
|