Skip to content

Conversation

@NgoHarrison
Copy link
Contributor

No description provided.

@NgoHarrison NgoHarrison force-pushed the harrison/apo-2194-raise-bytes-error branch 2 times, most recently from 61d38b5 to b6ce6e0 Compare November 19, 2025 01:04
Comment on lines 575 to 584
try:
default_serializer(output)
except (TypeError, ValueError) as exc:
raise NodeException(
message=(
f"Node {node.__class__.__name__} produced output: "
f"'{output.name}' that could not be serialized to JSON: {exc}"
),
code=WorkflowErrorCode.INVALID_OUTPUTS,
) from exc
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[blocking] I would rather support than add this overhead on every chunk from a node. Should be as easy as updating VellumJsonEncoder I believe

@devin-ai-integration devin-ai-integration bot force-pushed the harrison/apo-2194-raise-bytes-error branch from b6ce6e0 to e5c77de Compare November 20, 2025 02:35
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.

3 participants