Peter Mutwiri commited on
Commit ·
d49235b
1
Parent(s): 5f7588b
added is loading property
Browse files
app/service/llm_service.py
CHANGED
|
@@ -94,7 +94,10 @@ class LocalLLMService:
|
|
| 94 |
def is_loaded(self):
|
| 95 |
with self._lock:
|
| 96 |
return self._is_loaded
|
| 97 |
-
|
|
|
|
|
|
|
|
|
|
| 98 |
@property
|
| 99 |
def load_error(self):
|
| 100 |
with self._lock:
|
|
|
|
| 94 |
def is_loaded(self):
|
| 95 |
with self._lock:
|
| 96 |
return self._is_loaded
|
| 97 |
+
@property
|
| 98 |
+
def is_loading(self): # ✅ Add this missing property
|
| 99 |
+
with self._lock:
|
| 100 |
+
return self._is_loadin
|
| 101 |
@property
|
| 102 |
def load_error(self):
|
| 103 |
with self._lock:
|