feat: add web-based terminal and minigit tool

feat: increase http client timeout to 600 seconds
refactor: improve error handling and data access in api and research tools
This commit is contained in:
2025-11-11 16:04:46 +00:00
parent 9a1e96958d
commit 1abf88ecee
5 changed files with 56 additions and 33 deletions
+3 -3
View File
@@ -50,9 +50,9 @@ def call_api(
)
if response.get("error"):
if "status" in response:
status = response['status']
text = response.get('text', '')
exception_msg = response.get('exception', '')
status = response["status"]
text = response.get("text", "")
exception_msg = response.get("exception", "")
if status == 0:
error_msg = f"Network/Connection Error: {exception_msg or 'Unable to connect to API server'}"