@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.
@@ -6951,9 +6951,7 @@ function mapToolProgressToRuntime(toolEvent, context, options, id, timestamp) {
6951
6951
  return event;
6952
6952
  }
6953
6953
  function mapStreamChunkToRuntime(streamEvent, context, id, timestamp) {
6954
- const text = streamEvent.content ?? "";
6955
- if (!text) return null;
6956
- const chunkEvent = createFinalAnswerChunkEvent(id, context.conversationId, context.turnId, streamEvent.answer_id, streamEvent.seq, text, {
6954
+ const chunkEvent = createFinalAnswerChunkEvent(id, context.conversationId, context.turnId, streamEvent.answer_id, streamEvent.seq, streamEvent.content, {
6957
6955
  timestamp,
6958
6956
  is_last: streamEvent.is_last === true
6959
6957
  });