Skip to content

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

fix ltm serialize_message

femto04cf32e1ac13
diff --git a/metagpt/utils/serialize.py b/metagpt/utils/serialize.py
index 943def839..124176fcb 100644
--- a/metagpt/utils/serialize.py
+++ b/metagpt/utils/serialize.py
@@ -37,7 +37,7 @@ def actionoutout_schema_to_mapping(schema: Dict) -> Dict:
elif property["type"] == "array" and property["items"]["type"] == "string":
mapping[field] = (List[str], ...)
elif property["type"] == "array" and property["items"]["type"] == "array":
- # here only consider the `Tuple[str, str]` situation
+ # here only consider the `List[List[str]]` situation
mapping[field] = (List[List[str]], ...)
return mapping