MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / functions_for_module

Method functions_for_module

utils/function_catalog.py:101–105  ·  view source on GitHub ↗

Return sorted function names for the given module.

(self, module_name: str)

Source from the content-addressed store, hash-verified

99 return modules
100
101 def functions_for_module(self, module_name: str) -> List[str]:
102 """Return sorted function names for the given module."""
103
104 self._ensure_loaded()
105 return list(self._module_index.get(module_name, []))
106
107 @property
108 def load_error(self) -> Exception | None:

Callers 1

Calls 2

_ensure_loadedMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected