@linnlabs/linnkit 0.37.0 → 0.37.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1879,9 +1879,7 @@ function mapToolProgressToRuntime(toolEvent, context, options, id, timestamp) {
1879
1879
  return event;
1880
1880
  }
1881
1881
  function mapStreamChunkToRuntime(streamEvent, context, id, timestamp) {
1882
- const text = streamEvent.content ?? "";
1883
- if (!text) return null;
1884
- const chunkEvent = createFinalAnswerChunkEvent(id, context.conversationId, context.turnId, streamEvent.answer_id, streamEvent.seq, text, {
1882
+ const chunkEvent = createFinalAnswerChunkEvent(id, context.conversationId, context.turnId, streamEvent.answer_id, streamEvent.seq, streamEvent.content, {
1885
1883
  timestamp,
1886
1884
  is_last: streamEvent.is_last === true
1887
1885
  });