Skip to content

Fix: Provide default serialization for instance set logging#111

Merged
amsks merged 1 commit intomainfrom
fix/instance-set-serialization
Apr 2, 2026
Merged

Fix: Provide default serialization for instance set logging#111
amsks merged 1 commit intomainfrom
fix/instance-set-serialization

Conversation

@jmtoepperwien
Copy link
Copy Markdown
Contributor

Not all environments might have instance sets that are serializable. The BaseAgent class tries to dump these using json and therefore fails if it is not serializable.

From what I gather, this is only needed for logging, and I propose to solve this issue by just using the string representation (implemented in this PR).
A more elegant solution might be to let the user pass a JSON serializer, but that's more involved.

@amsks amsks self-requested a review April 2, 2026 07:52
@amsks amsks merged commit 2c4b3a1 into main Apr 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants