Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Update application.py

Smita Ambigercc0d8e38ae75
diff --git a/burr/core/application.py b/burr/core/application.py
index 70fa54e4..dc8067c4 100644
--- a/burr/core/application.py
+++ b/burr/core/application.py
@@ -2616,7 +2616,7 @@ class ApplicationBuilder(Generic[StateType]):
# there was something
last_position = load_result["position"]
self.state = load_result["state"]
- if getattr(self, "override_state_values", None):
+ if self.override_state_values:
self.state = self.state.update(**self.override_state_values)
self.sequence_id = load_result["sequence_id"]