Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
Fixes double-call to exception logging
elijahbenizzyc31d67ad1914
diff --git a/burr/core/application.py b/burr/core/application.pyindex 9ca53f0c..3571404c 100644--- a/burr/core/application.py+++ b/burr/core/application.py@@ -129,7 +129,7 @@ def _format_error_message(action: Action, input_state: State) -> str:input_string = _create_dict_string(input_state.get_all())message += "\n> State (at time of action):\n" + input_stringborder = "*" * 80- logger.exception("\n" + border + "\n" + message + "\n" + border)+ return "\n" + border + "\n" + message + "\n" + borderdef _run_single_step_action(action: SingleStepAction, state: State) -> Tuple[dict, State]: