Skip to content

Commit 19245a8

Browse files
authored
Merge pull request #183 from SharpAI/feature/coral-tpu-detection
Feature/coral tpu detection
2 parents f024dd1 + 4a19753 commit 19245a8

File tree

5 files changed

+583
-1
lines changed

5 files changed

+583
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ The shared [`env_config.py`](skills/lib/env_config.py) **auto-detects your GPU**
166166
| **Intel** (CPU, iGPU, NPU) | OpenVINO IR `.xml` | OpenVINO | **2-3x** |
167167
| **AMD GPU** (RX, MI) | ONNX Runtime | ROCm | **1.5-2x** |
168168
| **Any CPU** | ONNX Runtime | CPU | **~1.5x** |
169+
| **[Google Coral USB Accelerator](skills/detection/yolo-detection-2026-coral-tpu/)** | Edge TPU `.tflite` | ai-edge-litert + libedgetpu | **~4ms flat** |
169170

170171
### Aegis Skill Integration
171172

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
name: Cloud Provider Regression Test
3+
description: Connectivity, chat, JSON & streaming regression tests for all enabled cloud LLM providers
4+
version: 1.0.0
5+
category: analysis
6+
runtime: node
7+
entry: scripts/run-regression.cjs
8+
install: npm
9+
requirements:
10+
node: ">=18"
11+
npm_install: false
12+
platforms: ["linux", "macos", "windows"]
13+
---
14+
15+
# Cloud Provider Regression Test
16+
17+
Tests every enabled cloud provider for connectivity, chat completion, JSON output, and SSE streaming.
18+
Reads keys from `~/.aegis-ai/llm-config.json`.
19+
20+
## Standalone
21+
22+
```bash
23+
node scripts/run-regression.cjs # all providers
24+
node scripts/run-regression.cjs --provider glm,xai # specific
25+
node scripts/run-regression.cjs --verbose # full responses
26+
```
27+
28+
## Protocol
29+
30+
```jsonl
31+
{"event":"ready","providers":8}
32+
{"event":"test_result","suite":"GLM","test":"chat","status":"pass","timeMs":1930}
33+
{"event":"complete","passed":14,"failed":1,"total":15,"timeMs":38000}
34+
```
35+
36+
## Tests Per Provider
37+
38+
| Test | Verifies |
39+
|------|----------|
40+
| Chat | Connectivity, auth, URL construction, param compat |
41+
| JSON | Structured output (JSON instruction following) |
42+
| Stream | SSE streaming, chunks received |
43+
44+
Results saved to `~/.aegis-ai/regression-tests/`.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
params:
2+
- key: providers
3+
label: Provider Filter
4+
type: string
5+
default: "all"
6+
description: "Comma-separated provider IDs to test, or 'all'"
7+
8+
- key: skipJson
9+
label: Skip JSON test
10+
type: boolean
11+
default: false
12+
description: Skip the JSON output test
13+
14+
- key: skipStream
15+
label: Skip streaming test
16+
type: boolean
17+
default: false
18+
description: Skip the SSE streaming test
19+
20+
- key: timeout
21+
label: Request Timeout (ms)
22+
type: number
23+
default: 30000
24+
description: Per-request timeout in milliseconds

0 commit comments

Comments
 (0)