From 2afd0fc19e3597d7736a6c7a12617f2fc25752c6 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 30 Nov 2024 18:15:41 +0800 Subject: refactor: error handling for run-tool/run-agent scripts (#133) --- scripts/run-agent.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts/run-agent.py') diff --git a/scripts/run-agent.py b/scripts/run-agent.py index 6b16b14..c58612a 100755 --- a/scripts/run-agent.py +++ b/scripts/run-agent.py @@ -162,8 +162,4 @@ def return_to_llm(value): if __name__ == "__main__": - try: - main() - except Exception as e: - print(e, file=sys.stderr) - sys.exit(1) + main() \ No newline at end of file -- cgit v1.2.3