fix: discord channel stream ignore Reasoning content

This commit is contained in:
Fodesu
2026-02-23 20:04:00 +08:00
committed by Ran
parent 2b75d955e3
commit 87a4be7439
+1 -1
View File
@@ -47,7 +47,7 @@ func (s *discordOutboundStream) Push(ctx context.Context, event channel.StreamEv
return nil
case channel.StreamEventDelta:
if event.Delta == "" {
if event.Delta == "" || event.Phase == channel.StreamPhaseReasoning {
return nil
}
s.mu.Lock()