ErrorAI 1.10.0__tar.gz → 1.11.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.
Files changed (25) hide show
  1. {errorai-1.10.0 → errorai-1.11.0}/ErrorAI.egg-info/PKG-INFO +6 -5
  2. {errorai-1.10.0 → errorai-1.11.0}/ErrorAI.egg-info/requires.txt +5 -3
  3. {errorai-1.10.0 → errorai-1.11.0}/PKG-INFO +6 -5
  4. {errorai-1.10.0 → errorai-1.11.0}/errorai/config.py +23 -14
  5. {errorai-1.10.0 → errorai-1.11.0}/pyproject.toml +8 -4
  6. {errorai-1.10.0 → errorai-1.11.0}/ErrorAI.egg-info/SOURCES.txt +0 -0
  7. {errorai-1.10.0 → errorai-1.11.0}/ErrorAI.egg-info/dependency_links.txt +0 -0
  8. {errorai-1.10.0 → errorai-1.11.0}/ErrorAI.egg-info/entry_points.txt +0 -0
  9. {errorai-1.10.0 → errorai-1.11.0}/ErrorAI.egg-info/top_level.txt +0 -0
  10. {errorai-1.10.0 → errorai-1.11.0}/README.md +0 -0
  11. {errorai-1.10.0 → errorai-1.11.0}/errorai/__init__.py +0 -0
  12. {errorai-1.10.0 → errorai-1.11.0}/errorai/__main__.py +0 -0
  13. {errorai-1.10.0 → errorai-1.11.0}/errorai/bootstrap.py +0 -0
  14. {errorai-1.10.0 → errorai-1.11.0}/errorai/cli.py +0 -0
  15. {errorai-1.10.0 → errorai-1.11.0}/errorai/compat.py +0 -0
  16. {errorai-1.10.0 → errorai-1.11.0}/errorai/environment.py +0 -0
  17. {errorai-1.10.0 → errorai-1.11.0}/errorai/pipeline.py +0 -0
  18. {errorai-1.10.0 → errorai-1.11.0}/errorai/providers.py +0 -0
  19. {errorai-1.10.0 → errorai-1.11.0}/errorai/runtime.py +0 -0
  20. {errorai-1.10.0 → errorai-1.11.0}/errorai/universal.py +0 -0
  21. {errorai-1.10.0 → errorai-1.11.0}/setup.cfg +0 -0
  22. {errorai-1.10.0 → errorai-1.11.0}/tests/test_bootstrap.py +0 -0
  23. {errorai-1.10.0 → errorai-1.11.0}/tests/test_config.py +0 -0
  24. {errorai-1.10.0 → errorai-1.11.0}/tests/test_runtime.py +0 -0
  25. {errorai-1.10.0 → errorai-1.11.0}/tests/test_safety.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ErrorAI
3
- Version: 1.10.0
3
+ Version: 1.11.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.10.0
3
+ Version: 1.11.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
- provider: str = "onnx"
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 = (
@@ -155,19 +159,24 @@ dry_run = true
155
159
  ignore_patterns = [".git", "__pycache__", ".env", ".venv", "venv", "node_modules", "*.lock", ".errorai"]
156
160
 
157
161
  [model]
158
- provider = "onnx"
159
- name = "onnx-default-python-expert"
160
- context_window = 4096
161
- temperature = 0.1
162
- auto_bootstrap = true
163
- # To use a free, keyless hosted API instead of a local model, set:
164
- # provider = "http_api"
165
- # This sends the erroring line + message to http_api_base_url (default:
166
- # OVHcloud AI Endpoints' anonymous tier -- no signup, no key, ~2 req/min).
167
- # Only enable this if you're OK with that line leaving your machine.
168
- # http_api_base_url = "https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/chat/completions"
169
- # http_api_model = "qwen2.5-coder-32b-instruct"
170
- # http_api_timeout = 8.0
162
+ # Default: free, keyless hosted API. No local model download, no
163
+ # onnxruntime/optimum/transformers dependency required. This sends the
164
+ # erroring line + message to http_api_base_url (default: OVHcloud AI
165
+ # Endpoints' anonymous tier -- no signup, no key, ~2 req/min). Only keep
166
+ # this if you're OK with that one line leaving your machine.
167
+ provider = "http_api"
168
+ http_api_base_url = "https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/chat/completions"
169
+ http_api_model = "qwen2.5-coder-32b-instruct"
170
+ http_api_timeout = 8.0
171
+
172
+ # To run a fully local, offline model instead (nothing leaves your
173
+ # machine), install the extra: pip install ErrorAI[pro]
174
+ # then switch this block to:
175
+ # provider = "onnx"
176
+ # name = "onnx-default-python-expert"
177
+ # context_window = 4096
178
+ # temperature = 0.1
179
+ # auto_bootstrap = true
171
180
  """
172
181
 
173
182
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ErrorAI"
7
- version = "1.10.0"
7
+ version = "1.11.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