model inference settings
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user