model inference settings

This commit is contained in:
Storme-bit
2026-04-18 06:16:31 -07:00
parent daf5b9a8ae
commit 4b75529806
3 changed files with 39 additions and 0 deletions
@@ -194,4 +194,10 @@ export async function getServiceHealth() {
const res = await fetch(`${BASE_URL}/health/services`);
if (!res.ok) throw new Error(`Failed to fetch health: ${res.status}`);
return res.json();
}
export async function getModelProps() {
const res = await fetch(`${BASE_URL}/models/props`);
if (!res.ok) throw new Error('Failed to fetch model props');
return res.json();
}