Agent Zero AI framework
increase max callstack lenght for error msgs
3clyp506fea51b6b030
diff --git a/python/helpers/errors.py b/python/helpers/errors.pyindex c9da7f2bf..21320aa9d 100644--- a/python/helpers/errors.py+++ b/python/helpers/errors.py@@ -13,7 +13,7 @@ def error_text(e: Exception):return str(e)-def format_error(e: Exception, start_entries=6, end_entries=4):+def format_error(e: Exception, start_entries=20, end_entries=15):# format traceback from the provided exception instead of the most recent onetraceback_text = ''.join(traceback.format_exception(type(e), e, e.__traceback__))# Split the traceback into lines