aai-lark-bridge 0.2.4 → 0.2.6

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.
package/dist/index.js CHANGED
@@ -886,6 +886,9 @@ function* translateEvent(raw) {
886
886
  };
887
887
  return;
888
888
  }
889
+ if (typeof evt.result === "string" && evt.result.trim()) {
890
+ yield { type: "final_text", content: evt.result };
891
+ }
889
892
  yield { type: "done", sessionId: evt.session_id, terminationReason: "normal" };
890
893
  }
891
894
  }