Merge pull request #362 from Panda-eyes123/fix

fix: show error messages when API exceptions occur in s12-s20
This commit is contained in:
Yang Haoran
2026-06-27 01:55:39 +08:00
committed by GitHub
8 changed files with 16 additions and 2 deletions

View File

@@ -973,6 +973,8 @@ if __name__ == "__main__":
for block in history[-1]["content"]:
if getattr(block, "type", None) == "text":
print(block.text)
elif isinstance(block, dict) and block.get("type") == "text":
print(block.get("text", ""))
# Announce once when every teammate has finished and its output drained.
if active_teammates: