Build and run agents you can see, understand and trust.
Python agentchatbotlarge-language-modelsllmllm-agentmcpmulti-agentmulti-modalreact-agentrealtime-agentvoice-agentvoice-assistant
fix(docs): fix the typo in docstrings and remove unnecessary close statement (#1247)
Dipesh Babuea90ac904c06
diff --git a/src/agentscope/_utils/_common.py b/src/agentscope/_utils/_common.pyindex e0a842004..5f1814abb 100644--- a/src/agentscope/_utils/_common.py+++ b/src/agentscope/_utils/_common.py@@ -174,7 +174,7 @@ def _save_base64_data(Args:media_type (`str`):The MIME type of the data, e.g. "image/png", "audio/mpeg".- base64_data (`str):+ base64_data (`str`):The base64 data to be saved."""extension = "." + media_type.split("/")[-1]@@ -185,7 +185,6 @@ def _save_base64_data() as temp_file:decoded_data = base64.b64decode(base64_data)temp_file.write(decoded_data)- temp_file.close()return temp_file.name