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.
- {errorai-1.9.0 → errorai-1.9.1}/ErrorAI.egg-info/PKG-INFO +1 -1
- {errorai-1.9.0 → errorai-1.9.1}/PKG-INFO +1 -1
- {errorai-1.9.0 → errorai-1.9.1}/errorai/bootstrap.py +5 -0
- {errorai-1.9.0 → errorai-1.9.1}/errorai/config.py +9 -1
- {errorai-1.9.0 → errorai-1.9.1}/pyproject.toml +1 -1
- {errorai-1.9.0 → errorai-1.9.1}/ErrorAI.egg-info/SOURCES.txt +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/ErrorAI.egg-info/dependency_links.txt +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/ErrorAI.egg-info/entry_points.txt +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/ErrorAI.egg-info/requires.txt +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/ErrorAI.egg-info/top_level.txt +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/README.md +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/errorai/__init__.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/errorai/__main__.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/errorai/cli.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/errorai/compat.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/errorai/environment.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/errorai/pipeline.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/errorai/providers.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/errorai/runtime.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/errorai/universal.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/setup.cfg +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/tests/test_bootstrap.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/tests/test_config.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/tests/test_runtime.py +0 -0
- {errorai-1.9.0 → errorai-1.9.1}/tests/test_safety.py +0 -0
|
@@ -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
|
|
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
|
|
|
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
|