MCPcopy Create free account
hub / github.com/PromtEngineer/localGPT / ServiceConfig

Class ServiceConfig

run_system.py:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39@dataclass
40class ServiceConfig:
41 name: str
42 command: List[str]
43 port: int
44 cwd: Optional[str] = None
45 env: Optional[Dict[str, str]] = None
46 health_check_path: str = "/health"
47 startup_delay: int = 2
48 required: bool = True
49
50class ColoredFormatter(logging.Formatter):
51 """Custom formatter with colors for different log levels and services."""

Callers 1

_get_service_configsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected