ErrorAI 1.10.0__tar.gz → 1.12.0__tar.gz
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.
- {errorai-1.10.0 → errorai-1.12.0}/ErrorAI.egg-info/PKG-INFO +6 -5
- {errorai-1.10.0 → errorai-1.12.0}/ErrorAI.egg-info/requires.txt +5 -3
- {errorai-1.10.0 → errorai-1.12.0}/PKG-INFO +6 -5
- {errorai-1.10.0 → errorai-1.12.0}/errorai/config.py +29 -15
- {errorai-1.10.0 → errorai-1.12.0}/pyproject.toml +8 -4
- {errorai-1.10.0 → errorai-1.12.0}/ErrorAI.egg-info/SOURCES.txt +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/ErrorAI.egg-info/dependency_links.txt +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/ErrorAI.egg-info/entry_points.txt +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/ErrorAI.egg-info/top_level.txt +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/README.md +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/errorai/__init__.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/errorai/__main__.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/errorai/bootstrap.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/errorai/cli.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/errorai/compat.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/errorai/environment.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/errorai/pipeline.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/errorai/providers.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/errorai/runtime.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/errorai/universal.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/setup.cfg +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/tests/test_bootstrap.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/tests/test_config.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/tests/test_runtime.py +0 -0
- {errorai-1.10.0 → errorai-1.12.0}/tests/test_safety.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ErrorAI
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.12.0
|
|
4
4
|
Summary: Python-only autonomous runtime that watches/analyzes errors with safe local auto-fix fallbacks.
|
|
5
5
|
Author: Aswanth R
|
|
6
6
|
License: MIT
|
|
@@ -12,11 +12,12 @@ Classifier: Topic :: Software Development :: Quality Assurance
|
|
|
12
12
|
Requires-Python: >=3.9
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
Requires-Dist: platformdirs>=3.0
|
|
15
|
-
Requires-Dist: onnxruntime>=1.18.0
|
|
16
|
-
Requires-Dist: optimum[onnxruntime]>=1.20.0
|
|
17
|
-
Requires-Dist: transformers>=4.40.0
|
|
18
|
-
Requires-Dist: huggingface_hub>=0.23.0
|
|
19
15
|
Requires-Dist: tomli>=2.0.1; python_version < "3.11"
|
|
16
|
+
Provides-Extra: pro
|
|
17
|
+
Requires-Dist: onnxruntime>=1.18.0; extra == "pro"
|
|
18
|
+
Requires-Dist: optimum[onnxruntime]>=1.20.0; extra == "pro"
|
|
19
|
+
Requires-Dist: transformers>=4.40.0; extra == "pro"
|
|
20
|
+
Requires-Dist: huggingface_hub>=0.23.0; extra == "pro"
|
|
20
21
|
Provides-Extra: watch
|
|
21
22
|
Requires-Dist: watchdog>=4.0.0; extra == "watch"
|
|
22
23
|
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
platformdirs>=3.0
|
|
2
|
+
|
|
3
|
+
[:python_version < "3.11"]
|
|
4
|
+
tomli>=2.0.1
|
|
5
|
+
|
|
6
|
+
[pro]
|
|
2
7
|
onnxruntime>=1.18.0
|
|
3
8
|
optimum[onnxruntime]>=1.20.0
|
|
4
9
|
transformers>=4.40.0
|
|
5
10
|
huggingface_hub>=0.23.0
|
|
6
11
|
|
|
7
|
-
[:python_version < "3.11"]
|
|
8
|
-
tomli>=2.0.1
|
|
9
|
-
|
|
10
12
|
[watch]
|
|
11
13
|
watchdog>=4.0.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ErrorAI
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.12.0
|
|
4
4
|
Summary: Python-only autonomous runtime that watches/analyzes errors with safe local auto-fix fallbacks.
|
|
5
5
|
Author: Aswanth R
|
|
6
6
|
License: MIT
|
|
@@ -12,11 +12,12 @@ Classifier: Topic :: Software Development :: Quality Assurance
|
|
|
12
12
|
Requires-Python: >=3.9
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
Requires-Dist: platformdirs>=3.0
|
|
15
|
-
Requires-Dist: onnxruntime>=1.18.0
|
|
16
|
-
Requires-Dist: optimum[onnxruntime]>=1.20.0
|
|
17
|
-
Requires-Dist: transformers>=4.40.0
|
|
18
|
-
Requires-Dist: huggingface_hub>=0.23.0
|
|
19
15
|
Requires-Dist: tomli>=2.0.1; python_version < "3.11"
|
|
16
|
+
Provides-Extra: pro
|
|
17
|
+
Requires-Dist: onnxruntime>=1.18.0; extra == "pro"
|
|
18
|
+
Requires-Dist: optimum[onnxruntime]>=1.20.0; extra == "pro"
|
|
19
|
+
Requires-Dist: transformers>=4.40.0; extra == "pro"
|
|
20
|
+
Requires-Dist: huggingface_hub>=0.23.0; extra == "pro"
|
|
20
21
|
Provides-Extra: watch
|
|
21
22
|
Requires-Dist: watchdog>=4.0.0; extra == "watch"
|
|
22
23
|
|
|
@@ -59,7 +59,11 @@ class RuntimeConfig:
|
|
|
59
59
|
|
|
60
60
|
@dataclass(frozen=True)
|
|
61
61
|
class ModelConfig:
|
|
62
|
-
|
|
62
|
+
# Default is the free, keyless hosted API -- no local model download,
|
|
63
|
+
# no onnxruntime/optimum/transformers dependency needed. Installing the
|
|
64
|
+
# "pro" extra (`pip install ErrorAI[pro]`) pulls in those deps and lets
|
|
65
|
+
# you set provider = "onnx" for a fully local, offline model instead.
|
|
66
|
+
provider: str = "http_api"
|
|
63
67
|
name: str = "onnx-qwen2.5-coder-0.5b"
|
|
64
68
|
repo_id: str = "onnx-community/Qwen2.5-Coder-0.5B-Instruct"
|
|
65
69
|
model_url: str = (
|
|
@@ -74,8 +78,13 @@ class ModelConfig:
|
|
|
74
78
|
# Only used when provider = "http_api". Sends the errroring line + message
|
|
75
79
|
# to this endpoint instead of running a local model. Opt-in only: unlike
|
|
76
80
|
# the local onnx/llama_cpp providers, this means code leaves the machine.
|
|
81
|
+
# Model id must match OVHcloud's catalog exactly (case-sensitive) --
|
|
82
|
+
# "qwen2.5-coder-32b-instruct" was retired from their catalog and now
|
|
83
|
+
# 404s; Qwen3-Coder-30B-A3B-Instruct is their current coder-specific
|
|
84
|
+
# model. Check https://www.ovhcloud.com/en/public-cloud/ai-endpoints/catalog/
|
|
85
|
+
# if this ever 404s again, since OVH's lineup changes over time.
|
|
77
86
|
http_api_base_url: str = "https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/chat/completions"
|
|
78
|
-
http_api_model: str = "
|
|
87
|
+
http_api_model: str = "Qwen3-Coder-30B-A3B-Instruct"
|
|
79
88
|
http_api_timeout: float = 8.0
|
|
80
89
|
|
|
81
90
|
|
|
@@ -155,19 +164,24 @@ dry_run = true
|
|
|
155
164
|
ignore_patterns = [".git", "__pycache__", ".env", ".venv", "venv", "node_modules", "*.lock", ".errorai"]
|
|
156
165
|
|
|
157
166
|
[model]
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
#
|
|
169
|
-
#
|
|
170
|
-
#
|
|
167
|
+
# Default: free, keyless hosted API. No local model download, no
|
|
168
|
+
# onnxruntime/optimum/transformers dependency required. This sends the
|
|
169
|
+
# erroring line + message to http_api_base_url (default: OVHcloud AI
|
|
170
|
+
# Endpoints' anonymous tier -- no signup, no key, ~2 req/min). Only keep
|
|
171
|
+
# this if you're OK with that one line leaving your machine.
|
|
172
|
+
provider = "http_api"
|
|
173
|
+
http_api_base_url = "https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/chat/completions"
|
|
174
|
+
http_api_model = "Qwen3-Coder-30B-A3B-Instruct"
|
|
175
|
+
http_api_timeout = 8.0
|
|
176
|
+
|
|
177
|
+
# To run a fully local, offline model instead (nothing leaves your
|
|
178
|
+
# machine), install the extra: pip install ErrorAI[pro]
|
|
179
|
+
# then switch this block to:
|
|
180
|
+
# provider = "onnx"
|
|
181
|
+
# name = "onnx-default-python-expert"
|
|
182
|
+
# context_window = 4096
|
|
183
|
+
# temperature = 0.1
|
|
184
|
+
# auto_bootstrap = true
|
|
171
185
|
"""
|
|
172
186
|
|
|
173
187
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ErrorAI"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.12.0"
|
|
8
8
|
description = "Python-only autonomous runtime that watches/analyzes errors with safe local auto-fix fallbacks."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
@@ -20,14 +20,18 @@ classifiers = [
|
|
|
20
20
|
requires-python = ">=3.9"
|
|
21
21
|
dependencies = [
|
|
22
22
|
"platformdirs>=3.0",
|
|
23
|
+
"tomli>=2.0.1; python_version < '3.11'",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
[project.optional-dependencies]
|
|
27
|
+
# Default install uses the hosted http_api provider (no local model, no
|
|
28
|
+
# heavy ML deps). Install this extra for a fully local/offline model.
|
|
29
|
+
pro = [
|
|
23
30
|
"onnxruntime>=1.18.0",
|
|
24
31
|
"optimum[onnxruntime]>=1.20.0",
|
|
25
32
|
"transformers>=4.40.0",
|
|
26
33
|
"huggingface_hub>=0.23.0",
|
|
27
|
-
"tomli>=2.0.1; python_version < '3.11'",
|
|
28
34
|
]
|
|
29
|
-
|
|
30
|
-
[project.optional-dependencies]
|
|
31
35
|
watch = ["watchdog>=4.0.0"]
|
|
32
36
|
|
|
33
37
|
[project.scripts]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|