ErrorAI 1.9.0__tar.gz → 1.9.1__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.9.0 → errorai-1.9.1}/ErrorAI.egg-info/PKG-INFO +1 -1
  2. {errorai-1.9.0 → errorai-1.9.1}/PKG-INFO +1 -1
  3. {errorai-1.9.0 → errorai-1.9.1}/errorai/bootstrap.py +5 -0
  4. {errorai-1.9.0 → errorai-1.9.1}/errorai/config.py +9 -1
  5. {errorai-1.9.0 → errorai-1.9.1}/pyproject.toml +1 -1
  6. {errorai-1.9.0 → errorai-1.9.1}/ErrorAI.egg-info/SOURCES.txt +0 -0
  7. {errorai-1.9.0 → errorai-1.9.1}/ErrorAI.egg-info/dependency_links.txt +0 -0
  8. {errorai-1.9.0 → errorai-1.9.1}/ErrorAI.egg-info/entry_points.txt +0 -0
  9. {errorai-1.9.0 → errorai-1.9.1}/ErrorAI.egg-info/requires.txt +0 -0
  10. {errorai-1.9.0 → errorai-1.9.1}/ErrorAI.egg-info/top_level.txt +0 -0
  11. {errorai-1.9.0 → errorai-1.9.1}/README.md +0 -0
  12. {errorai-1.9.0 → errorai-1.9.1}/errorai/__init__.py +0 -0
  13. {errorai-1.9.0 → errorai-1.9.1}/errorai/__main__.py +0 -0
  14. {errorai-1.9.0 → errorai-1.9.1}/errorai/cli.py +0 -0
  15. {errorai-1.9.0 → errorai-1.9.1}/errorai/compat.py +0 -0
  16. {errorai-1.9.0 → errorai-1.9.1}/errorai/environment.py +0 -0
  17. {errorai-1.9.0 → errorai-1.9.1}/errorai/pipeline.py +0 -0
  18. {errorai-1.9.0 → errorai-1.9.1}/errorai/providers.py +0 -0
  19. {errorai-1.9.0 → errorai-1.9.1}/errorai/runtime.py +0 -0
  20. {errorai-1.9.0 → errorai-1.9.1}/errorai/universal.py +0 -0
  21. {errorai-1.9.0 → errorai-1.9.1}/setup.cfg +0 -0
  22. {errorai-1.9.0 → errorai-1.9.1}/tests/test_bootstrap.py +0 -0
  23. {errorai-1.9.0 → errorai-1.9.1}/tests/test_config.py +0 -0
  24. {errorai-1.9.0 → errorai-1.9.1}/tests/test_runtime.py +0 -0
  25. {errorai-1.9.0 → errorai-1.9.1}/tests/test_safety.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ErrorAI
3
- Version: 1.9.0
3
+ Version: 1.9.1
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ErrorAI
3
- Version: 1.9.0
3
+ Version: 1.9.1
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
@@ -38,6 +38,11 @@ def _download_onnx_model(config: ModelConfig, destination: Path) -> None:
38
38
  snapshot_download(
39
39
  repo_id=config.repo_id,
40
40
  cache_dir=str(config.cache_dir / "hf_cache"),
41
+ allow_patterns=[
42
+ "*.json",
43
+ "*.txt",
44
+ "onnx/model_int8.onnx",
45
+ ],
41
46
  )
42
47
  )
43
48
  if destination.exists() or destination.is_symlink():
@@ -129,7 +129,7 @@ def _coerce_model(base: ModelConfig, values: Dict[str, Any]) -> ModelConfig:
129
129
 
130
130
 
131
131
  def load_config(project_root: Path | None = None) -> ErrorAIConfig:
132
- root = (project_root or Path.cwd()).resolve()
132
+ root = (project_root or _default_project_root()).resolve()
133
133
  config = ErrorAIConfig(runtime=RuntimeConfig(project_root=root))
134
134
  pyproject = _read_toml(root / "pyproject.toml")
135
135
  pyproject_settings = pyproject.get("tool", {}).get("errorai", {})
@@ -160,6 +160,14 @@ name = "onnx-default-python-expert"
160
160
  context_window = 4096
161
161
  temperature = 0.1
162
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
163
171
  """
164
172
 
165
173
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ErrorAI"
7
- version = "1.9.0"
7
+ version = "1.9.1"
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 = [
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