次の方法で共有


AgentProfileUnion type

type AgentProfileUnion = AgentProfile | Stateful | StatelessAgentProfile