优化三个工具的返回结果。

This commit is contained in:
2025-01-06 17:27:45 +08:00
parent c7d2d482da
commit 4d0c41d222
7 changed files with 266 additions and 8 deletions

View File

@@ -53,5 +53,6 @@ def format_response(basic_data: list, table_data: str, phase_data: str) -> str:
response += "\n### Phase Diagram\n\n"
response += f"![Phase Diagram]({phase_data})\n\n"
response += "\n### Compounds at this composition\n\n"
response += "I highly recommend that you pass the phase map URL to the user wrapped in Markdown's image syntax!"
response += f"{table_data}\n"
return response