c151b49334
- 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.
24 lines
639 B
HTML
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>
|