feat(harness): add chat application use case

This commit is contained in:
zhuyongxin
2026-07-22 00:57:39 +08:00
parent ee0949d464
commit f8809cb7dd
56 changed files with 2815 additions and 6 deletions
@@ -0,0 +1,19 @@
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;
}
}