Files
momentry_core/static/monitor/test.html
T
Accusys c151b49334 feat: implement service management API for VLM control
- Add /api/v1/mbe/health endpoint for status checks
- Add /api/v2/service/start to start llama-server
- Add /api/v2/service/stop to stop llama-server
- Use TCP connection test for port detection (more reliable than lsof)
- Add ps aux fallback for PID detection
- Implement structured bilingual VLM tags
- Add VLM integration documentation for Studio team

Endpoints tested and working with Momentry Studio AdminView UI.
2026-10-24 02:37:53 +08:00

24 lines
639 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Monitor Test</title>
</head>
<body>
<h1>Monitor API Test</h1>
<pre id="output">Loading...</pre>
<script>
async function test() {
try {
const res = await fetch('/api/v1/monitor/running_jobs');
const data = await res.json();
document.getElementById('output').textContent = JSON.stringify(data, null, 2);
} catch (e) {
document.getElementById('output').textContent = 'Error: ' + e.message;
}
}
test();
setInterval(test, 5000);
</script>
</body>
</html>