@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.
@@ -1881,9 +1881,7 @@ function mapToolProgressToRuntime(toolEvent, context, options, id, timestamp) {
1881
1881
  return event;
1882
1882
  }
1883
1883
  function mapStreamChunkToRuntime(streamEvent, context, id, timestamp) {
1884
- const text = streamEvent.content ?? "";
1885
- if (!text) return null;
1886
- const chunkEvent = createFinalAnswerChunkEvent(id, context.conversationId, context.turnId, streamEvent.answer_id, streamEvent.seq, text, {
1884
+ const chunkEvent = createFinalAnswerChunkEvent(id, context.conversationId, context.turnId, streamEvent.answer_id, streamEvent.seq, streamEvent.content, {
1887
1885
  timestamp,
1888
1886
  is_last: streamEvent.is_last === true
1889
1887
  });