MCPcopy
hub / github.com/OpenBMB/ChatDev / list_functions

Method list_functions

utils/function_manager.py:109–113  ·  view source on GitHub ↗

List all available functions.

(self)

Source from the content-addressed store, hash-verified

107 return func(*args, **kwargs)
108
109 def list_functions(self) -> Dict[str, Callable]:
110 """List all available functions."""
111 if not self._loaded:
112 self.load_functions()
113 return self.functions.copy()
114
115 def reload_functions(self) -> None:
116 """Reload all functions from the functions directory."""

Callers 1

refreshMethod · 0.80

Calls 2

load_functionsMethod · 0.95
copyMethod · 0.45

Tested by

no test coverage detected