mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
fix: discord channel stream ignore Reasoning content
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user