1{ lib, ... }:
2let
3 mainPort = "8080";
4in
5{
6 name = "litellm";
7
8 nodes = {
9 machine =
10 { ... }:
11 {
12 services.litellm = {
13 enable = true;
14 };
15 };
16 };
17
18 testScript = ''
19 machine.start()
20 machine.wait_for_unit("litellm.service")
21 machine.wait_for_open_port(${mainPort})
22 '';
23
24 meta = with lib.maintainers; {
25 maintainers = [ ];
26 };
27}