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
Wires serde kwargs through to local tracking client
elijahbenizzy050fa7d82920
diff --git a/burr/tracking/client.py b/burr/tracking/client.pyindex 1c85ff16..001eba5e 100644--- a/burr/tracking/client.py+++ b/burr/tracking/client.py@@ -179,7 +179,7 @@ class LocalTrackingClient(self.raw_storage_dir = storage_dirself.storage_dir = LocalTrackingClient.get_storage_path(project, storage_dir)self.project_id = project- self.serde_kwargs = serde_kwargs or {}+ self.serde_kwargs = serde_kwargs if serde_kwargs is not None else {}# app_id, action, partition_key -> stream data so we can trackself.stream_state: Dict[StateKey, StreamState] = dict()@@ -441,7 +441,7 @@ class LocalTrackingClient(result=serde.serialize(result, **self.serde_kwargs),sequence_id=sequence_id,exception=_format_exception(exception),- state=state.serialize(),+ state=state.serialize(**self.serde_kwargs),)self._append_write_line(post_run_entry)