package com.superbiz.agent.harness.application; import com.fasterxml.jackson.annotation.JsonProperty; import com.superbiz.agent.harness.contract.SafeFallback; import java.util.Objects; public record FallbackContent(@JsonProperty("fallback") SafeFallback fallback) implements ChatApplicationContent { public FallbackContent { Objects.requireNonNull(fallback, "fallback must not be null"); } @Override public ChatContentType contentType() { return ChatContentType.SAFE_FALLBACK; } }