Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

Update write_docstring.py to fix wrong word

shenchuchengcfb26155c6d7
diff --git a/metagpt/actions/write_docstring.py b/metagpt/actions/write_docstring.py
index 370d020de..cc4d7d904 100644
--- a/metagpt/actions/write_docstring.py
+++ b/metagpt/actions/write_docstring.py
@@ -15,7 +15,7 @@ PYTHON_DOCSTRING_SYSTEM = '''### Requirements
### Input Example
```python
def function_with_pep484_type_annotations(param1: int) -> bool:
- return isinstanc(param1, int)
+ return isinstance(param1, int)
class ExampleError(Exception):
def __init__(self, msg: str):