refactor: remove redundant content block stop event and update skill registry with new capabilities

This commit is contained in:
2026-05-14 01:40:04 +03:00
parent c4fe3b9d20
commit 3c32d270cd
4 changed files with 48 additions and 7 deletions
-6
View File
@@ -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
}