mirror of
https://github.com/shareAI-lab/analysis_claude_code.git
synced 2026-08-06 12:03:37 +08:00
Merge pull request #362 from Panda-eyes123/fix
fix: show error messages when API exceptions occur in s12-s20
This commit is contained in:
@@ -799,6 +799,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", ""))
|
||||
|
||||
# Consume lead inbox: route protocol + inject into history
|
||||
inbox = consume_lead_inbox(route_protocol=True)
|
||||
|
||||
Reference in New Issue
Block a user