Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

test(e2e): hit /api/version after the route migration

cyha8643fa5932e
diff --git a/tests/e2e/test_health.py b/tests/e2e/test_health.py
index eb0120928..f2610675f 100644
--- a/tests/e2e/test_health.py
+++ b/tests/e2e/test_health.py
@@ -14,7 +14,9 @@ class TestHealth:
assert data["status"] == "ok"
def test_version_endpoint(self, api_url):
- resp = urllib.request.urlopen(f"{api_url}/version", timeout=5)
+ # Version is a JSON API route, migrated to /api/* in this PR. (/health
+ # and /status stay at the root as auth-exempt startup probes.)
+ resp = urllib.request.urlopen(f"{api_url}/api/version", timeout=5)
assert resp.status == 200
data = json.loads(resp.read())
# Version should be present (may be "0.0.0" in dev/editable mode)