MCPcopy
hub / github.com/Fosowl/agenticSeek / stop

Function stop

api.py:177–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175
176@api.get("/stop")
177async def stop():
178 logger.info("Stop endpoint called")
179 interaction.current_agent.request_stop()
180 return JSONResponse(status_code=200, content={"status": "stopped"})
181
182@api.get("/latest_answer")
183async def get_latest_answer():

Callers

nothing calls this directly

Calls 2

infoMethod · 0.80
request_stopMethod · 0.80

Tested by

no test coverage detected