MCPcopy Index your code
hub / github.com/mudler/LocalAI / Health

Method Health

backend/python/mlx/backend.py:41–52  ·  view source on GitHub ↗

Returns a health check message. Args: request: The health check request. context: The gRPC context. Returns: backend_pb2.Reply: The health check reply.

(self, request, context)

Source from the content-addressed store, hash-verified

39 """
40
41 def Health(self, request, context):
42 """
43 Returns a health check message.
44
45 Args:
46 request: The health check request.
47 context: The gRPC context.
48
49 Returns:
50 backend_pb2.Reply: The health check reply.
51 """
52 return backend_pb2.Reply(message=bytes("OK", 'utf-8'))
53
54 async def LoadModel(self, request, context):
55 """

Callers 4

test_server_startupMethod · 0.45
TestServerHealthFunction · 0.45
TestServerHealthFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_server_startupMethod · 0.36
TestServerHealthFunction · 0.36
TestServerHealthFunction · 0.36