Files
aether/cluster/distributed.go
Hugo Nijhuis a33ef47a39
All checks were successful
CI / build (pull_request) Successful in 16s
Fix type assertion bug in handleClusterMessage
JSON unmarshal produces map[string]interface{}, not concrete types.
Added ModelPayload and MessagePayload concrete types that implement
RuntimeModel and RuntimeMessage interfaces respectively.

The handleClusterMessage now re-marshals and unmarshals the payload
to convert from map[string]interface{} to the proper concrete type.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 16:41:40 +01:00

7.4 KiB