refactor(test): improve type assertions in ops endpoint context tests

This commit is contained in:
Ethan0x0000
2026-03-24 09:52:56 +08:00
parent 2f8e10db46
commit f10e56be7e
2 changed files with 9 additions and 8 deletions

View File

@@ -397,11 +397,6 @@ func anthToResHandleMessageDelta(evt *AnthropicStreamEvent, state *AnthropicEven
}
}
// Extract stop_reason from delta
if evt.Delta != nil && evt.Delta.StopReason != "" {
// We'll use this in message_stop
}
return nil
}