MCPcopy Index your code
hub / github.com/github/copilot-sdk / to_dict

Method to_dict

python/copilot/client.py:661–665  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

659 return ModelCapabilities(supports=supports, limits=limits)
660
661 def to_dict(self) -> dict:
662 result: dict = {}
663 result["supports"] = self.supports.to_dict()
664 result["limits"] = self.limits.to_dict()
665 return result
666
667
668@dataclass

Callers

nothing calls this directly

Calls 1

to_dictMethod · 0.45

Tested by

no test coverage detected