MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / list

Method list

python/src/cmdop/resources/machines.py:35–48  ·  view source on GitHub ↗
(
        self,
        *,
        presence: str = "any",
        q: str | None = None,
        limit: int = 100,
        cursor: str | None = None,
    )

Source from the content-addressed store, hash-verified

33 options = pb.AskOptions(attachment_ids=attachments)
34 for name, value in (
35 ("pin", pin),
36 ("session", session),
37 ("engine", engine),
38 ("working_dir", working_dir),
39 ("project_root_id", project_root_id),
40 ("model", model),
41 ):
42 if value is not None:
43 setattr(options, name, value)
44 return self._t.call_stream(
45 pb.Envelope(
46 ask_machine_req=pb.AskMachineRequest(
47 machine_id=str(machine_id), prompt=prompt, options=options
48 )
49 )
50 )
51

Callers 1

fetchMethod · 0.95

Calls 1

_unaryMethod · 0.80

Tested by

no test coverage detected