🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
feat: png -> svg
莘权 马62140a6d5600
diff --git a/metagpt/utils/mermaid.py b/metagpt/utils/mermaid.pyindex 64996717e..008bb849d 100644--- a/metagpt/utils/mermaid.py+++ b/metagpt/utils/mermaid.py@@ -38,7 +38,7 @@ async def mermaid_to_file(Returns:int: 0 if the conversion is successful, -1 if the conversion fails."""- suffixes = suffixes or ["png"]+ suffixes = suffixes or ["svg"]# Write the Mermaid code to a temporary fileconfig = config if config else Config.default()dir_name = os.path.dirname(output_file_without_suffix)