chat: fix case where template accepts type content only #19419
+55
−9
Merged
Loading