MCPcopy Create free account
hub / github.com/dataease/SQLBot / is_running

Method is_running

backend/apps/chat/task/llm.py:213–221  ·  view source on GitHub ↗
(self, timeout=0.5)

Source from the content-addressed store, hash-verified

211 return instance
212
213 def is_running(self, timeout=0.5):
214 try:
215 r = concurrent.futures.wait([self.future], timeout)
216 if len(r.not_done) > 0:
217 return True
218 else:
219 return False
220 except Exception as e:
221 return True
222
223 def init_messages(self, session: Session):
224

Callers 2

await_resultMethod · 0.95
sync_wrapperFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected