versionhq 1.2.2.9__py3-none-any.whl → 1.2.3.0__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/llm/llm_vars.py +4 -1
- versionhq/tool/rag_tool.py +6 -1
- {versionhq-1.2.2.9.dist-info → versionhq-1.2.3.0.dist-info}/METADATA +11 -11
- {versionhq-1.2.2.9.dist-info → versionhq-1.2.3.0.dist-info}/RECORD +8 -8
- {versionhq-1.2.2.9.dist-info → versionhq-1.2.3.0.dist-info}/LICENSE +0 -0
- {versionhq-1.2.2.9.dist-info → versionhq-1.2.3.0.dist-info}/WHEEL +0 -0
- {versionhq-1.2.2.9.dist-info → versionhq-1.2.3.0.dist-info}/top_level.txt +0 -0
versionhq/__init__.py
CHANGED
versionhq/llm/llm_vars.py
CHANGED
@@ -19,6 +19,7 @@ ENDPOINT_PROVIDERS = [
|
|
19
19
|
|
20
20
|
MODELS = {
|
21
21
|
"openai": [
|
22
|
+
"gpt-4.5-preview-2025-02-27",
|
22
23
|
"gpt-4",
|
23
24
|
"gpt-4o",
|
24
25
|
"gpt-4o-mini",
|
@@ -77,13 +78,15 @@ ENV_VARS = {
|
|
77
78
|
}
|
78
79
|
|
79
80
|
|
81
|
+
|
80
82
|
"""
|
81
83
|
Max input token size by the model.
|
82
84
|
"""
|
83
85
|
LLM_CONTEXT_WINDOW_SIZES = {
|
84
|
-
"gpt-4":
|
86
|
+
"gpt-4.5-preview-2025-02-27": 128000,
|
85
87
|
"gpt-4o": 128000,
|
86
88
|
"gpt-4o-mini": 128000,
|
89
|
+
"gpt-4": 8192,
|
87
90
|
"o1-preview": 128000,
|
88
91
|
"o1-mini": 128000,
|
89
92
|
|
versionhq/tool/rag_tool.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import re
|
2
2
|
import requests
|
3
|
-
import html2text
|
4
3
|
import gzip
|
5
4
|
import http.client
|
6
5
|
import urllib.request
|
@@ -37,6 +36,11 @@ class RagTool(BaseTool):
|
|
37
36
|
if isinstance(source_code, bytes):
|
38
37
|
source_code = source_code.decode('utf-8')
|
39
38
|
|
39
|
+
try:
|
40
|
+
import html2text
|
41
|
+
except:
|
42
|
+
Logger().log(message="Dependencies for tools are missing. Add tool packages by running: `uv add versionhq[tool]`.", color="red", level="error")
|
43
|
+
|
40
44
|
h = html2text.HTML2Text()
|
41
45
|
h.ignore_links = False
|
42
46
|
text = h.handle(source_code)
|
@@ -108,5 +112,6 @@ class RagTool(BaseTool):
|
|
108
112
|
results.append(str(item))
|
109
113
|
return results
|
110
114
|
|
115
|
+
|
111
116
|
def run(self, *args, **kwargs):
|
112
117
|
return self._run(*args, **kwargs)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: versionhq
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.3.0
|
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
|
@@ -34,13 +34,14 @@ Classifier: Programming Language :: Python
|
|
34
34
|
Classifier: Programming Language :: Python :: 3
|
35
35
|
Classifier: Programming Language :: Python :: 3.11
|
36
36
|
Classifier: Programming Language :: Python :: 3.12
|
37
|
+
Classifier: Programming Language :: Python :: 3.13
|
37
38
|
Classifier: License :: OSI Approved :: MIT License
|
38
39
|
Classifier: Operating System :: OS Independent
|
39
40
|
Classifier: Development Status :: 3 - Alpha
|
40
41
|
Classifier: Intended Audience :: Developers
|
41
42
|
Classifier: Intended Audience :: Information Technology
|
42
43
|
Classifier: Topic :: Software Development :: Build Tools
|
43
|
-
Requires-Python:
|
44
|
+
Requires-Python: >=3.11
|
44
45
|
Description-Content-Type: text/markdown
|
45
46
|
License-File: LICENSE
|
46
47
|
Requires-Dist: regex==2024.11.6
|
@@ -67,8 +68,12 @@ Requires-Dist: composio-core==0.7.0
|
|
67
68
|
Requires-Dist: networkx>=3.4.2
|
68
69
|
Requires-Dist: matplotlib>=3.10.0
|
69
70
|
Requires-Dist: boto3>=1.37.1
|
71
|
+
Provides-Extra: torch
|
72
|
+
Requires-Dist: torch>=2.6.0; extra == "torch"
|
73
|
+
Requires-Dist: torchvision>=0.21.0; extra == "torch"
|
74
|
+
Requires-Dist: pytorch-triton-xpu>=3.2.0; sys_platform == "linux" and extra == "torch"
|
70
75
|
Provides-Extra: docling
|
71
|
-
Requires-Dist: docling>=2.
|
76
|
+
Requires-Dist: docling>=2.25.2; extra == "docling"
|
72
77
|
Provides-Extra: mem0ai
|
73
78
|
Requires-Dist: mem0ai>=0.1.55; extra == "mem0ai"
|
74
79
|
Provides-Extra: pdfplumber
|
@@ -91,7 +96,7 @@ Requires-Dist: scikit-learn>=1.6.1; extra == "eval"
|
|
91
96
|

|
92
97
|
[](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
|
93
98
|

|
94
|
-

|
99
|
+

|
95
100
|

|
96
101
|
|
97
102
|
|
@@ -100,7 +105,7 @@ Agentic orchestration framework for multi-agent networks and task graphs for com
|
|
100
105
|
**Visit:**
|
101
106
|
|
102
107
|
- [Playground](https://versi0n.io/)
|
103
|
-
- [
|
108
|
+
- [Documentation](https://docs.versi0n.io)
|
104
109
|
- [Github](https://github.com/versionHQ/)
|
105
110
|
- [Python SDK](https://pypi.org/project/versionhq/)
|
106
111
|
|
@@ -252,7 +257,7 @@ agent.update(
|
|
252
257
|
pip install versionhq
|
253
258
|
```
|
254
259
|
|
255
|
-
(Python 3.11
|
260
|
+
(Python 3.11 | 3.12 | 3.13)
|
256
261
|
|
257
262
|
|
258
263
|
### Launching an agent
|
@@ -384,7 +389,6 @@ Tasks can be delegated to a manager, peers within the agent network, or a comple
|
|
384
389
|
|
385
390
|
**Deployment**
|
386
391
|
|
387
|
-
* **Python**: Primary programming language. v3.12.x is recommended
|
388
392
|
* [uv](https://docs.astral.sh/uv/): Python package installer and resolver
|
389
393
|
* [pre-commit](https://pre-commit.com/): Manage and maintain pre-commit hooks
|
390
394
|
* [setuptools](https://pypi.org/project/setuptools/): Build python modules
|
@@ -473,8 +477,6 @@ pyproject.toml # Project config
|
|
473
477
|
uv sync --all-extras --no-extra pygraphviz
|
474
478
|
```
|
475
479
|
|
476
|
-
- `torch`/`Docling` related errors: Set up default Python version either `3.11.x` or `3.12.x` (same as AssertionError)
|
477
|
-
|
478
480
|
### Adding env secrets to .env file
|
479
481
|
|
480
482
|
Create `.env` file in the project root and add secret vars following `.env.sample` file.
|
@@ -580,8 +582,6 @@ Common issues and solutions:
|
|
580
582
|
|
581
583
|
* Memory errors: If processing large contracts, you may need to increase the available memory for the Python process.
|
582
584
|
|
583
|
-
* Issues related to the Python version: Docling/Pytorch is not ready for Python 3.13 as of Jan 2025. Use Python 3.12.x as default by running `uv venv --python 3.12.8` and `uv python pin 3.12.8`.
|
584
|
-
|
585
585
|
* Issues related to dependencies: `rm -rf uv.lock`, `uv cache clean`, `uv venv`, and run `uv pip install -r requirements.txt -v`.
|
586
586
|
|
587
587
|
* Issues related to agents and other systems: Check `.logs` directory located in the root directory for error messages and stack traces.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
versionhq/__init__.py,sha256=
|
1
|
+
versionhq/__init__.py,sha256=Co8oha5gA6GLy73HAkQ-HmC8IaXLGOK5YeIOT6KMnDc,2980
|
2
2
|
versionhq/_utils/__init__.py,sha256=d-vYVcORZKG-kkLe_fzE8VbViDpAk9DDOKe2fVK25ew,178
|
3
3
|
versionhq/_utils/i18n.py,sha256=TwA_PnYfDLA6VqlUDPuybdV9lgi3Frh_ASsb_X8jJo8,1483
|
4
4
|
versionhq/_utils/llm_as_a_judge.py,sha256=RM0oYfoeanuUyUL3Ewl6_8Xn1F5Axd285UMH46kxG1I,2378
|
@@ -32,7 +32,7 @@ versionhq/knowledge/source.py,sha256=-hEUPtJUHHMx4rUKtiHl19J8xAMw-WVBw34zwa2jZ08
|
|
32
32
|
versionhq/knowledge/source_docling.py,sha256=dcu1ITqPXwWZ_lK-6tykEKhhC82eNRTMoWRpxK9Kzls,5441
|
33
33
|
versionhq/knowledge/storage.py,sha256=Kd-4r6aWM5EDaoXrzKXbgi1hY6tysSQARPGXM95qMmU,8266
|
34
34
|
versionhq/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
35
|
-
versionhq/llm/llm_vars.py,sha256=
|
35
|
+
versionhq/llm/llm_vars.py,sha256=qSG-_pYeWksdMmwASXpjQqf97fMovsY4lNTSCHQF88k,5694
|
36
36
|
versionhq/llm/model.py,sha256=R6Mlsfc_MHCPsaUhst1Q9K8KinjpVpKha-B8m6YRoIE,17230
|
37
37
|
versionhq/memory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
38
38
|
versionhq/memory/contextual_memory.py,sha256=QEMVvHuEXxY7M6-12S8HhyFKf108KfX8Zzt7paPW048,3882
|
@@ -60,10 +60,10 @@ versionhq/tool/composio_tool.py,sha256=IATfsEnF_1RPJyGtPBmAtEJh5XPcgDHpyG3SUR461
|
|
60
60
|
versionhq/tool/composio_tool_vars.py,sha256=FvBuEXsOQUYnN7RTFxT20kAkiEYkxWKkiVtgpqOzKZQ,1843
|
61
61
|
versionhq/tool/decorator.py,sha256=C4ZM7Xi2gwtEMaSeRo-geo_g_MAkY77WkSLkAuY0AyI,1205
|
62
62
|
versionhq/tool/model.py,sha256=Nc2f9frTK5tH4kh6EeEAk1Fi1w19kEXLOcsBwHCS1a4,12189
|
63
|
-
versionhq/tool/rag_tool.py,sha256=
|
63
|
+
versionhq/tool/rag_tool.py,sha256=dW5o-83V4bMFFJEj3PUm7XjblwrYJGmZVBlCpPj6CeM,3852
|
64
64
|
versionhq/tool/tool_handler.py,sha256=2m41K8qo5bGCCbwMFferEjT-XZ-mE9F0mDUOBkgivOI,1416
|
65
|
-
versionhq-1.2.
|
66
|
-
versionhq-1.2.
|
67
|
-
versionhq-1.2.
|
68
|
-
versionhq-1.2.
|
69
|
-
versionhq-1.2.
|
65
|
+
versionhq-1.2.3.0.dist-info/LICENSE,sha256=cRoGGdM73IiDs6nDWKqPlgSv7aR4n-qBXYnJlCMHCeE,1082
|
66
|
+
versionhq-1.2.3.0.dist-info/METADATA,sha256=ecBan7bE1D3h9QCoGrmez3swRMqLhJsxilByj0pJCyg,21535
|
67
|
+
versionhq-1.2.3.0.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
68
|
+
versionhq-1.2.3.0.dist-info/top_level.txt,sha256=DClQwxDWqIUGeRJkA8vBlgeNsYZs4_nJWMonzFt5Wj0,10
|
69
|
+
versionhq-1.2.3.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|