refactor: remove redundant content block stop event and update skill registry with new capabilities
This commit is contained in:
@@ -291,12 +291,6 @@ func (s *StreamTransformer) TransformChunk(raw []byte) string {
|
||||
}
|
||||
|
||||
if finish != nil {
|
||||
if s.blockOpened {
|
||||
s.writeEvent(&out, "content_block_stop", map[string]interface{}{
|
||||
"type": "content_block_stop",
|
||||
"index": 0,
|
||||
})
|
||||
}
|
||||
out.WriteString(s.finish())
|
||||
s.finishSent = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user