aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/run-agent.py
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-11-30 18:15:41 +0800
committerGitHub <noreply@github.com>2024-11-30 18:15:41 +0800
commit2afd0fc19e3597d7736a6c7a12617f2fc25752c6 (patch)
tree8e3311fa1089b371cb1c8bf4061facd98aa46569 /scripts/run-agent.py
parentd2a537c3743963bfb6add44731dd3f3f6c785a2e (diff)
downloadllm-functions-docker-2afd0fc19e3597d7736a6c7a12617f2fc25752c6.tar.gz
refactor: error handling for run-tool/run-agent scripts (#133)
Diffstat (limited to 'scripts/run-agent.py')
-rwxr-xr-xscripts/run-agent.py6
1 files changed, 1 insertions, 5 deletions
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