You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/state_management.rst
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,34 @@ The `BaseState` class, which is a Pydantic `BaseModel`, is used to define the st
34
34
35
35
In this example, we've defined a state for a chat application. Any workflow that uses this state will have access to these fields, and Pydantic will ensure that the data conforms to the specified types.
36
36
37
+
Because Junjo uses your state's normal Pydantic serialization for workflow
38
+
state telemetry, this is also the place where you control telemetry-facing
39
+
serialization behavior. If a field should be excluded, redacted, or truncated
40
+
for OpenTelemetry state payloads, implement that at the state model layer.
0 commit comments