versionhq 1.2.1.6__py3-none-any.whl → 1.2.1.8__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.
- versionhq/__init__.py +1 -1
- versionhq/task/model.py +2 -2
- {versionhq-1.2.1.6.dist-info → versionhq-1.2.1.8.dist-info}/METADATA +7 -14
- {versionhq-1.2.1.6.dist-info → versionhq-1.2.1.8.dist-info}/RECORD +7 -7
- {versionhq-1.2.1.6.dist-info → versionhq-1.2.1.8.dist-info}/LICENSE +0 -0
- {versionhq-1.2.1.6.dist-info → versionhq-1.2.1.8.dist-info}/WHEEL +0 -0
- {versionhq-1.2.1.6.dist-info → versionhq-1.2.1.8.dist-info}/top_level.txt +0 -0
versionhq/__init__.py
CHANGED
versionhq/task/model.py
CHANGED
@@ -276,7 +276,7 @@ class Task(BaseModel):
|
|
276
276
|
|
277
277
|
# tool usage
|
278
278
|
tools: Optional[List[ToolSet | Tool | Any]] = Field(default_factory=list, description="tools that the agent can use aside from their tools")
|
279
|
-
can_use_agent_tools: bool = Field(default=
|
279
|
+
can_use_agent_tools: bool = Field(default=True, description="whether the agent can use their own tools when executing the task")
|
280
280
|
tool_res_as_final: bool = Field(default=False, description="when set True, tools res will be stored in the `TaskOutput`")
|
281
281
|
|
282
282
|
# executing
|
@@ -478,7 +478,7 @@ Ref. Output image: {output_formats_to_follow}
|
|
478
478
|
return output
|
479
479
|
|
480
480
|
else:
|
481
|
-
r = str(raw).replace("{'", '{"').replace("{ '", '{"').replace("': '", '": "').replace("'}", '"}').replace("' }", '"}').replace("', '", '", "').replace("['", '["').replace("[ '", '[ "').replace("']", '"]').replace("' ]", '" ]').replace("{\n'", '{"').replace("{\'", '{"').replace("true", "True").replace("false", "False")
|
481
|
+
r = str(raw).strip().replace("{'", '{"').replace("{ '", '{"').replace("': '", '": "').replace("'}", '"}').replace("' }", '"}').replace("', '", '", "').replace("['", '["').replace("[ '", '[ "').replace("']", '"]').replace("' ]", '" ]').replace("{\n'", '{"').replace("{\'", '{"').replace("true", "True").replace("false", "False").replace('\"', "'")
|
482
482
|
j = json.dumps(eval(r))
|
483
483
|
output = json.loads(j)
|
484
484
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: versionhq
|
3
|
-
Version: 1.2.1.
|
3
|
+
Version: 1.2.1.8
|
4
4
|
Summary: An agentic orchestration framework for building agent networks that handle task automation.
|
5
5
|
Author-email: Kuriko Iwai <kuriko@versi0n.io>
|
6
6
|
License: MIT License
|
@@ -81,7 +81,7 @@ Requires-Dist: pygraphviz>=1.14; extra == "pygraphviz"
|
|
81
81
|
|
82
82
|
# Overview
|
83
83
|
|
84
|
-
[](https://clickpy.clickhouse.com/dashboard/versionhq)
|
85
85
|

|
86
86
|
[](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
|
87
87
|

|
@@ -93,11 +93,10 @@ Agentic orchestration framework for multi-agent networks and task graphs for com
|
|
93
93
|
|
94
94
|
**Visit:**
|
95
95
|
|
96
|
-
- [
|
96
|
+
- [Playground](https://versi0n.io/playground)
|
97
97
|
- [Docs](https://docs.versi0n.io)
|
98
98
|
- [Github Repository](https://github.com/versionHQ/multi-agent-system)
|
99
|
-
- [
|
100
|
-
|
99
|
+
- [PyPI](https://pypi.org/project/versionhq/)
|
101
100
|
|
102
101
|
<hr />
|
103
102
|
|
@@ -181,11 +180,11 @@ node_c = task_graph.add_task(task=task_c)
|
|
181
180
|
|
182
181
|
task_graph.add_dependency(
|
183
182
|
node_a.identifier, node_b.identifier,
|
184
|
-
|
183
|
+
dependency_type=vhq.DependencyType.FINISH_TO_START, weight=5, description="B depends on A"
|
185
184
|
)
|
186
185
|
task_graph.add_dependency(
|
187
186
|
node_a.identifier, node_c.identifier,
|
188
|
-
|
187
|
+
dependency_type=vhq.DependencyType.FINISH_TO_FINISH, lag=1, required=False, weight=3
|
189
188
|
)
|
190
189
|
|
191
190
|
# To visualize the graph:
|
@@ -594,10 +593,4 @@ Common issues and solutions:
|
|
594
593
|
## Frequently Asked Questions (FAQ)
|
595
594
|
**Q. Where can I see if the agent is working?**
|
596
595
|
|
597
|
-
A. Visit [playground](https://versi0n.io).
|
598
|
-
|
599
|
-
|
600
|
-
**Q. How do you analyze the customer?**
|
601
|
-
|
602
|
-
A. We employ soft clustering for each customer.
|
603
|
-
<img width="200" src="https://res.cloudinary.com/dfeirxlea/image/upload/v1732732628/pj_m_agents/ito937s5d5x0so8isvw6.png">
|
596
|
+
A. Visit [playground](https://versi0n.io/playground).
|
@@ -1,4 +1,4 @@
|
|
1
|
-
versionhq/__init__.py,sha256=
|
1
|
+
versionhq/__init__.py,sha256=GoMOSZ9GCDbTwRDAI2HkiMxHD9_g11Kio6PaCM-sULA,2882
|
2
2
|
versionhq/_utils/__init__.py,sha256=dzoZr4cBlh-2QZuPzTdehPUCe9lP1dmRtauD7qTjUaA,158
|
3
3
|
versionhq/_utils/i18n.py,sha256=TwA_PnYfDLA6VqlUDPuybdV9lgi3Frh_ASsb_X8jJo8,1483
|
4
4
|
versionhq/_utils/logger.py,sha256=zgogTwAY-ujDLrdryAKhdtoaNe1nOFajmEN0V8aMR34,3155
|
@@ -47,7 +47,7 @@ versionhq/task/evaluate.py,sha256=WdUgjbZL62XrxyWe5MTz29scfzwmuAHGxJ7GvAB8Fmk,39
|
|
47
47
|
versionhq/task/formation.py,sha256=WH604q9bRmWH7KQCrk2qKJwisCopYX5CjJvsj4TgFjI,6894
|
48
48
|
versionhq/task/formatter.py,sha256=N8Kmk9vtrMtBdgJ8J7RmlKNMdZWSmV8O1bDexmCWgU0,643
|
49
49
|
versionhq/task/log_handler.py,sha256=LT7YnO7gcPR9IZS7eRvMjnHh8crMBFtqduxd8dxIbkk,1680
|
50
|
-
versionhq/task/model.py,sha256=
|
50
|
+
versionhq/task/model.py,sha256=ASc7l5Lhm9tfINYGKtBikqaLAXbobPQNd0xKFv_IcS0,28529
|
51
51
|
versionhq/task/structured_response.py,sha256=4q-hQPu7oMMHHXEzh9YW4SJ7N5eCZ7OfZ65juyl_jCI,5000
|
52
52
|
versionhq/task/TEMPLATES/Description.py,sha256=V-4kh8xpQTKOcDMi2xnuP-fcNk6kuoz1_5tYBlDLQWQ,420
|
53
53
|
versionhq/task_graph/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -61,8 +61,8 @@ versionhq/tool/composio_tool_vars.py,sha256=FvBuEXsOQUYnN7RTFxT20kAkiEYkxWKkiVtg
|
|
61
61
|
versionhq/tool/decorator.py,sha256=C4ZM7Xi2gwtEMaSeRo-geo_g_MAkY77WkSLkAuY0AyI,1205
|
62
62
|
versionhq/tool/model.py,sha256=PO4zNWBZcJhYVur381YL1dy6zqurio2jWjtbxOxZMGI,12194
|
63
63
|
versionhq/tool/tool_handler.py,sha256=2m41K8qo5bGCCbwMFferEjT-XZ-mE9F0mDUOBkgivOI,1416
|
64
|
-
versionhq-1.2.1.
|
65
|
-
versionhq-1.2.1.
|
66
|
-
versionhq-1.2.1.
|
67
|
-
versionhq-1.2.1.
|
68
|
-
versionhq-1.2.1.
|
64
|
+
versionhq-1.2.1.8.dist-info/LICENSE,sha256=cRoGGdM73IiDs6nDWKqPlgSv7aR4n-qBXYnJlCMHCeE,1082
|
65
|
+
versionhq-1.2.1.8.dist-info/METADATA,sha256=zG1Jl-lNkrNiP1XCaAVGZgsU8__2SCBUOT-9jjAZJZ8,22032
|
66
|
+
versionhq-1.2.1.8.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
67
|
+
versionhq-1.2.1.8.dist-info/top_level.txt,sha256=DClQwxDWqIUGeRJkA8vBlgeNsYZs4_nJWMonzFt5Wj0,10
|
68
|
+
versionhq-1.2.1.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|