model inference settings

This commit is contained in:
Storme-bit
2026-04-18 06:20:58 -07:00
parent 4b75529806
commit 6935459428

View File

@@ -44,6 +44,7 @@ router.get('/', (req, res) => {
}); });
router.get('/props', async (req, res) => { router.get('/props', async (req, res) => {
console.log('[models/props] fetching from:', `${INFERENCE_SERVICE_URL}/props`);
try { try {
const response = await fetch(`${INFERENCE_SERVICE_URL}/props`); const response = await fetch(`${INFERENCE_SERVICE_URL}/props`);
if (!response.ok) throw new Error(`Inference service error: ${response.status}`); if (!response.ok) throw new Error(`Inference service error: ${response.status}`);