🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
corrected the common.py file
brucemeek0eea6bc19f6f
diff --git a/metagpt/utils/common.py b/metagpt/utils/common.pyindex aa2f5bb98..399ff22de 100644--- a/metagpt/utils/common.py+++ b/metagpt/utils/common.py@@ -214,4 +214,13 @@ def print_members(module, indent=0):prefix = ' ' * indentfor name, obj in inspect.getmembers(module):print(name, obj)- if inspect+ if inspect.isclass(obj):+ print(f'{prefix}Class: {name}')+ # print the methods within the class+ if name in ['__class__', '__base__']:+ continue+ print_members(obj, indent + 2)+ elif inspect.isfunction(obj):+ print(f'{prefix}Function: {name}')+ elif inspect.ismethod(obj):+ print(f'{prefix}Method: {name}')\ No newline at end of file