Skip to content

Commit 3da5143

Browse files
dubug issue changes
1 parent 5b1ec30 commit 3da5143

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

singlestoredb/management/inference_api.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,11 @@ def start(self, model_name: str) -> ModelOperationResult:
242242
if self._manager is None:
243243
raise ManagementError(msg='Manager not initialized')
244244
res = self._manager._post(f'inferenceapis/{model_name}/start')
245-
return ModelOperationResult.from_start_response(res.json())
245+
response_data = res.json()
246+
# Debug: print the actual response to see what we're getting
247+
import json
248+
print(f"DEBUG - Start response: {json.dumps(response_data, indent=2, default=str)}")
249+
return ModelOperationResult.from_start_response(response_data)
246250

247251
def stop(self, model_name: str) -> ModelOperationResult:
248252
"""

0 commit comments

Comments
 (0)