pcm-agents 0.6.65 → 0.6.67

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.
Files changed (151) hide show
  1. package/dist/cjs/components-position-selector_28.cjs.entry.js +13 -10
  2. package/dist/cjs/components-position-selector_28.cjs.entry.js.map +1 -1
  3. package/dist/cjs/{index-DQcWrort.js → index-CeNGuoZk.js} +3 -3
  4. package/dist/cjs/{index-DQcWrort.js.map → index-CeNGuoZk.js.map} +1 -1
  5. package/dist/cjs/index.cjs.js +1 -1
  6. package/dist/cjs/oem-htws-modal.cjs.entry.js +1 -1
  7. package/dist/cjs/oem-jd-modal.cjs.entry.js +2 -2
  8. package/dist/cjs/oem-jlpp-modal.cjs.entry.js +1 -1
  9. package/dist/cjs/oem-jlsx-modal.cjs.entry.js +2 -2
  10. package/dist/cjs/oem-jlzz-modal.cjs.entry.js +1 -1
  11. package/dist/cjs/oem-mnct-modal.cjs.entry.js +1 -1
  12. package/dist/cjs/oem-qgqjl-modal.cjs.entry.js +1 -1
  13. package/dist/cjs/oem-zygh-modal.cjs.entry.js +1 -1
  14. package/dist/cjs/pcm-hr-chat-modal.cjs.entry.js +3 -3
  15. package/dist/cjs/pcm-mnms-modal.cjs.entry.js +2 -2
  16. package/dist/cjs/pcm-mnms-modal.cjs.entry.js.map +1 -1
  17. package/dist/cjs/pcm-mnms-modal.entry.cjs.js.map +1 -1
  18. package/dist/cjs/pcm-zygh-v2-modal.cjs.entry.js +1 -1
  19. package/dist/cjs/{sentry-reporter-DbH6qDcz.js → sentry-reporter-BoxHoXNb.js} +3 -3
  20. package/dist/cjs/{sentry-reporter-DbH6qDcz.js.map → sentry-reporter-BoxHoXNb.js.map} +1 -1
  21. package/dist/collection/components/oem-mnms-modal/oem-mnms-modal.js +1 -1
  22. package/dist/collection/components/oem-mnms-modal/oem-mnms-modal.js.map +1 -1
  23. package/dist/collection/components/pcm-1zhanshi-mnms-modal/pcm-1zhanshi-mnms-modal.js +1 -1
  24. package/dist/collection/components/pcm-1zhanshi-mnms-modal/pcm-1zhanshi-mnms-modal.js.map +1 -1
  25. package/dist/collection/components/pcm-app-chat-modal/pcm-app-chat-modal.js +2 -2
  26. package/dist/collection/components/pcm-app-chat-modal/pcm-app-chat-modal.js.map +1 -1
  27. package/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js +1 -1
  28. package/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js.map +1 -1
  29. package/dist/collection/components/pcm-mnms-modal/pcm-mnms-modal.js +1 -1
  30. package/dist/collection/components/pcm-mnms-modal/pcm-mnms-modal.js.map +1 -1
  31. package/dist/collection/components/pcm-mnms-zp-modal/pcm-mnms-zp-modal.js +1 -1
  32. package/dist/collection/components/pcm-mnms-zp-modal/pcm-mnms-zp-modal.js.map +1 -1
  33. package/dist/collection/components/pcm-virtual-chat-modal/pcm-virtual-chat-modal.js +2 -2
  34. package/dist/collection/components/pcm-virtual-chat-modal/pcm-virtual-chat-modal.js.map +1 -1
  35. package/dist/collection/components/pcm-zsk-chat-modal/pcm-zsk-chat-modal.js +4 -1
  36. package/dist/collection/components/pcm-zsk-chat-modal/pcm-zsk-chat-modal.js.map +1 -1
  37. package/dist/components/components-position-selector.js +1 -1
  38. package/dist/components/index.js +1 -1
  39. package/dist/components/oem-htws-modal.js +6 -6
  40. package/dist/components/oem-jd-modal.js +4 -4
  41. package/dist/components/oem-jlpp-modal.js +8 -8
  42. package/dist/components/oem-jlsx-modal.js +6 -6
  43. package/dist/components/oem-jlzz-modal.js +6 -6
  44. package/dist/components/oem-mnct-modal.js +8 -8
  45. package/dist/components/oem-mnms-modal.js +10 -10
  46. package/dist/components/oem-mnms-modal.js.map +1 -1
  47. package/dist/components/oem-qgqjl-modal.js +8 -8
  48. package/dist/components/oem-zygh-modal.js +6 -6
  49. package/dist/components/{p-hFzUvn6_.js → p-BtPjc-Y9.js} +3 -3
  50. package/dist/components/{p-hFzUvn6_.js.map → p-BtPjc-Y9.js.map} +1 -1
  51. package/dist/components/{p-DHC6ZviH.js → p-BzwlHMr8.js} +3 -3
  52. package/dist/components/{p-DHC6ZviH.js.map → p-BzwlHMr8.js.map} +1 -1
  53. package/dist/components/{p-DmAhoM-o.js → p-CDloCZOY.js} +7 -7
  54. package/dist/components/{p-DmAhoM-o.js.map → p-CDloCZOY.js.map} +1 -1
  55. package/dist/components/{p-CuqMbk0y.js → p-CMiEHeSQ.js} +3 -3
  56. package/dist/components/{p-CuqMbk0y.js.map → p-CMiEHeSQ.js.map} +1 -1
  57. package/dist/components/{p-CEyh93ap.js → p-DJtyPvVh.js} +5 -5
  58. package/dist/components/{p-CEyh93ap.js.map → p-DJtyPvVh.js.map} +1 -1
  59. package/dist/components/{p-spXOmqIl.js → p-DLh60L9n.js} +3 -3
  60. package/dist/components/{p-spXOmqIl.js.map → p-DLh60L9n.js.map} +1 -1
  61. package/dist/components/{p-B-0jiyHD.js → p-LO6jP8nC.js} +4 -4
  62. package/dist/components/{p-B-0jiyHD.js.map → p-LO6jP8nC.js.map} +1 -1
  63. package/dist/components/{p-CZPju2jV.js → p-QgKEogq8.js} +3 -3
  64. package/dist/components/{p-CZPju2jV.js.map → p-QgKEogq8.js.map} +1 -1
  65. package/dist/components/{p-CEp2_PZO.js → p-_-akGsE6.js} +3 -3
  66. package/dist/components/{p-CEp2_PZO.js.map → p-_-akGsE6.js.map} +1 -1
  67. package/dist/components/{p-FlzcO5gZ.js → p-nCbT7n8v.js} +3 -3
  68. package/dist/components/{p-FlzcO5gZ.js.map → p-nCbT7n8v.js.map} +1 -1
  69. package/dist/components/pcm-1zhanshi-mnms-modal.js +6 -6
  70. package/dist/components/pcm-1zhanshi-mnms-modal.js.map +1 -1
  71. package/dist/components/pcm-app-chat-modal.js +1 -1
  72. package/dist/components/pcm-card.js +1 -1
  73. package/dist/components/pcm-chat-message.js +1 -1
  74. package/dist/components/pcm-digital-human.js +1 -1
  75. package/dist/components/pcm-export-records-modal.js +1 -1
  76. package/dist/components/pcm-hr-chat-modal.js +3 -3
  77. package/dist/components/pcm-htws-modal.js +7 -7
  78. package/dist/components/pcm-hyzj-modal.js +4 -4
  79. package/dist/components/pcm-jd-modal.js +4 -4
  80. package/dist/components/pcm-jlpp-modal.js +7 -7
  81. package/dist/components/pcm-jlsx-modal.js +5 -5
  82. package/dist/components/pcm-jlzz-modal.js +6 -6
  83. package/dist/components/pcm-mnct-modal.js +4 -4
  84. package/dist/components/pcm-mnms-modal.js +9 -9
  85. package/dist/components/pcm-mnms-modal.js.map +1 -1
  86. package/dist/components/pcm-mnms-zp-modal.js +9 -9
  87. package/dist/components/pcm-mnms-zp-modal.js.map +1 -1
  88. package/dist/components/pcm-mobile-input-btn.js +1 -1
  89. package/dist/components/pcm-mobile-upload-btn.js +1 -1
  90. package/dist/components/pcm-msbg-modal.js +4 -4
  91. package/dist/components/pcm-qgqjl-modal.js +7 -7
  92. package/dist/components/pcm-upload.js +1 -1
  93. package/dist/components/pcm-virtual-chat-modal.js +1 -1
  94. package/dist/components/pcm-zsk-chat-modal.js +6 -3
  95. package/dist/components/pcm-zsk-chat-modal.js.map +1 -1
  96. package/dist/components/pcm-zygh-modal.js +6 -6
  97. package/dist/components/pcm-zygh-v2-modal.js +6 -6
  98. package/dist/esm/components-position-selector_28.entry.js +13 -10
  99. package/dist/esm/components-position-selector_28.entry.js.map +1 -1
  100. package/dist/esm/{index-C3zkUAFV.js → index-D759M9qf.js} +3 -3
  101. package/dist/esm/{index-C3zkUAFV.js.map → index-D759M9qf.js.map} +1 -1
  102. package/dist/esm/index.js +1 -1
  103. package/dist/esm/oem-htws-modal.entry.js +1 -1
  104. package/dist/esm/oem-jd-modal.entry.js +2 -2
  105. package/dist/esm/oem-jlpp-modal.entry.js +1 -1
  106. package/dist/esm/oem-jlsx-modal.entry.js +2 -2
  107. package/dist/esm/oem-jlzz-modal.entry.js +1 -1
  108. package/dist/esm/oem-mnct-modal.entry.js +1 -1
  109. package/dist/esm/oem-qgqjl-modal.entry.js +1 -1
  110. package/dist/esm/oem-zygh-modal.entry.js +1 -1
  111. package/dist/esm/pcm-hr-chat-modal.entry.js +3 -3
  112. package/dist/esm/pcm-mnms-modal.entry.js +2 -2
  113. package/dist/esm/pcm-mnms-modal.entry.js.map +1 -1
  114. package/dist/esm/pcm-zygh-v2-modal.entry.js +1 -1
  115. package/dist/esm/{sentry-reporter-Bd1QPHA7.js → sentry-reporter-B5WB-CZW.js} +3 -3
  116. package/dist/esm/{sentry-reporter-Bd1QPHA7.js.map → sentry-reporter-B5WB-CZW.js.map} +1 -1
  117. package/dist/pcm-agents/index.esm.js +1 -1
  118. package/dist/pcm-agents/{p-8067055f.entry.js → p-0fe90120.entry.js} +2 -2
  119. package/dist/pcm-agents/{p-0d6074df.entry.js → p-19d2149a.entry.js} +2 -2
  120. package/dist/pcm-agents/{p-4c34cabf.entry.js → p-1cca6930.entry.js} +11 -11
  121. package/dist/pcm-agents/p-1cca6930.entry.js.map +1 -0
  122. package/dist/pcm-agents/{p-a38822bf.entry.js → p-32921588.entry.js} +2 -2
  123. package/dist/pcm-agents/{p-858fd5fe.entry.js → p-4d175a72.entry.js} +2 -2
  124. package/dist/pcm-agents/{p-ea1df5f6.entry.js → p-74238133.entry.js} +2 -2
  125. package/dist/pcm-agents/p-74238133.entry.js.map +1 -0
  126. package/dist/pcm-agents/{p-252b2f5d.entry.js → p-87a549f5.entry.js} +2 -2
  127. package/dist/pcm-agents/{p-e4573ad9.entry.js → p-9dff4fe4.entry.js} +2 -2
  128. package/dist/pcm-agents/p-CUL5bOvD.js +2 -0
  129. package/dist/pcm-agents/{p-DtIVzj9b.js.map → p-CUL5bOvD.js.map} +1 -1
  130. package/dist/pcm-agents/{p-Bv5Ai4r3.js → p-DO4648Dt.js} +2 -2
  131. package/dist/pcm-agents/{p-Bv5Ai4r3.js.map → p-DO4648Dt.js.map} +1 -1
  132. package/dist/pcm-agents/{p-e25a7834.entry.js → p-aece3a1a.entry.js} +2 -2
  133. package/dist/pcm-agents/{p-42d05c45.entry.js → p-c48b7b0f.entry.js} +2 -2
  134. package/dist/pcm-agents/{p-d5d56261.entry.js → p-ea4faee6.entry.js} +2 -2
  135. package/dist/pcm-agents/{p-abda195f.entry.js → p-f64659f1.entry.js} +2 -2
  136. package/dist/pcm-agents/pcm-agents.esm.js +1 -1
  137. package/dist/pcm-agents/pcm-mnms-modal.entry.esm.js.map +1 -1
  138. package/package.json +71 -71
  139. package/dist/pcm-agents/p-4c34cabf.entry.js.map +0 -1
  140. package/dist/pcm-agents/p-DtIVzj9b.js +0 -2
  141. package/dist/pcm-agents/p-ea1df5f6.entry.js.map +0 -1
  142. /package/dist/pcm-agents/{p-8067055f.entry.js.map → p-0fe90120.entry.js.map} +0 -0
  143. /package/dist/pcm-agents/{p-0d6074df.entry.js.map → p-19d2149a.entry.js.map} +0 -0
  144. /package/dist/pcm-agents/{p-a38822bf.entry.js.map → p-32921588.entry.js.map} +0 -0
  145. /package/dist/pcm-agents/{p-858fd5fe.entry.js.map → p-4d175a72.entry.js.map} +0 -0
  146. /package/dist/pcm-agents/{p-252b2f5d.entry.js.map → p-87a549f5.entry.js.map} +0 -0
  147. /package/dist/pcm-agents/{p-e4573ad9.entry.js.map → p-9dff4fe4.entry.js.map} +0 -0
  148. /package/dist/pcm-agents/{p-e25a7834.entry.js.map → p-aece3a1a.entry.js.map} +0 -0
  149. /package/dist/pcm-agents/{p-42d05c45.entry.js.map → p-c48b7b0f.entry.js.map} +0 -0
  150. /package/dist/pcm-agents/{p-d5d56261.entry.js.map → p-ea4faee6.entry.js.map} +0 -0
  151. /package/dist/pcm-agents/{p-abda195f.entry.js.map → p-f64659f1.entry.js.map} +0 -0
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-C_qhED9Z.js');
4
- var index$1 = require('./index-DQcWrort.js');
4
+ var index$1 = require('./index-CeNGuoZk.js');
5
5
  var message_service = require('./message.service-DGUsA-FY.js');
6
6
  var errorEvent = require('./error-event-J_ZWIqWF.js');
7
7
  var messageUtils = require('./message-utils-OP5WQarf.js');
8
- var sentryReporter = require('./sentry-reporter-DbH6qDcz.js');
8
+ var sentryReporter = require('./sentry-reporter-BoxHoXNb.js');
9
9
  require('./exports-Dc-pQh4A.js');
10
10
 
11
11
  const componentsPositionSelectorCss = ":host{display:block;width:100%;height:100%}.position-selector-container{display:flex;flex-direction:column;width:100%;height:100%;background:#fff}.search-bar{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #f0f0f0;flex-shrink:0}.search-input-wrapper{position:relative;display:flex;align-items:center;flex:1;min-width:200px;max-width:500px}.search-icon{position:absolute;left:12px;color:#bfbfbf;pointer-events:none}.search-input{width:100%;height:36px;padding:4px 36px 4px 36px;font-size:14px;line-height:1.5;color:rgba(0, 0, 0, 0.85);background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:6px;transition:all 0.3s;outline:none}.search-input:hover{border-color:#40a9ff}.search-input:focus{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.search-input::placeholder{color:#bfbfbf}.clear-button{position:absolute;right:12px;background:none;border:none;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#bfbfbf;transition:color 0.3s}.clear-button:hover{color:#8c8c8c}.search-button{padding:4px 15px;height:36px;font-size:14px;line-height:1.5;border-radius:6px;color:#fff;background-color:#1890ff;border:1px solid #1890ff;cursor:pointer;transition:all 0.3s;outline:none;white-space:nowrap;flex-shrink:0}.search-button:hover{background-color:#40a9ff;border-color:#40a9ff}.search-button:active{background-color:#096dd9;border-color:#096dd9}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;gap:16px;color:#8c8c8c}.loading-spinner{width:32px;height:32px;border:3px solid #f0f0f0;border-top-color:#1890ff;border-radius:50%;animation:spin 0.8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;gap:16px}.empty-icon{opacity:0.5}.empty-text{margin:0;color:#8c8c8c;font-size:14px}.position-list{flex:1;overflow-y:auto;min-height:0}.table-container{width:100%;overflow-x:auto}.position-table{width:100%;border-collapse:collapse;font-size:14px}.position-table thead{background-color:#fafafa;position:sticky;top:0;z-index:1}.position-table th{padding:12px 16px;text-align:left;font-weight:500;color:rgba(0, 0, 0, 0.85);border-bottom:1px solid #f0f0f0;white-space:nowrap}.position-table td{padding:12px 16px;border-bottom:1px solid #f0f0f0;color:rgba(0, 0, 0, 0.65)}.position-table tbody tr{transition:background-color 0.3s}.position-table tbody tr:hover{background-color:#fafafa}.position-table tbody tr.selected-row{background-color:#e6f7ff}.checkbox-column{width:50px;text-align:center}.title-column{min-width:150px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-column{min-width:120px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.location-column{min-width:100px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.requirements-column{min-width:200px;max-width:300px}.requirements-text{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;word-break:break-word;line-height:1.5}.salary-column{min-width:100px;white-space:nowrap}.action-column{width:100px;text-align:center}.position-checkbox{width:16px;height:16px;cursor:pointer;accent-color:#1890ff}.select-button{padding:4px 15px;height:28px;font-size:14px;line-height:1.5;border-radius:6px;color:#fff;background-color:#1890ff;border:1px solid #1890ff;cursor:pointer;transition:all 0.3s;outline:none}.select-button:hover{background-color:#40a9ff;border-color:#40a9ff}.select-button:active{background-color:#096dd9;border-color:#096dd9}@media screen and (max-width: 768px){.search-bar{padding:12px;gap:8px}.search-input-wrapper{min-width:auto;max-width:none}.search-input{height:40px;font-size:16px}.search-button{height:40px;padding:4px 12px}.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}.position-table{font-size:12px}.position-table th,.position-table td{padding:8px 12px}.title-column,.company-column,.location-column{min-width:100px}.select-button{padding:4px 12px;height:32px;font-size:14px}}.pagination-container{display:flex;align-items:center;justify-content:center;gap:16px;padding:16px;border-top:1px solid #f0f0f0;flex-shrink:0}.pagination-button{padding:4px 15px;height:32px;font-size:14px;line-height:1.5;border-radius:6px;color:rgba(0, 0, 0, 0.85);background-color:#fff;border:1px solid #d9d9d9;cursor:pointer;transition:all 0.3s;outline:none}.pagination-button:hover:not(:disabled){color:#40a9ff;border-color:#40a9ff}.pagination-button:active:not(:disabled){color:#096dd9;border-color:#096dd9}.pagination-button:disabled{color:rgba(0, 0, 0, 0.25);background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.pagination-info{font-size:14px;color:rgba(0, 0, 0, 0.65)}.position-list::-webkit-scrollbar{width:8px;height:8px}.position-list::-webkit-scrollbar-track{background:#f1f1f1}.position-list::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.position-list::-webkit-scrollbar-thumb:hover{background:#555}";
@@ -644,7 +644,7 @@ const OemMnmsModal = class {
644
644
  file_name: this.customInputs?.file_name || this.uploadedFileInfo?.file_name,
645
645
  job_info: this.customInputs?.job_info || this.jobDescription,
646
646
  question_number: this.customInputs?.question_number || 5,
647
- interview_type: this.digitalId,
647
+ ai_interview_type: this.digitalId,
648
648
  phone: this.phoneNumber.trim() || undefined
649
649
  } })) : (index.h("pcm-app-chat-modal", { isOpen: true, modalTitle: this.modalTitle, icon: this.icon, isShowHeader: this.isShowHeader, isNeedClose: this.isShowHeader, fullscreen: this.fullscreen, showWorkspaceHistory: this.showWorkspaceHistory, botId: "3022316191018884", digitalId: this.digitalId, conversationId: this.conversationId, defaultQuery: this.defaultQuery, maxRecordingTime: this.maxRecordingTime, waitingTime: this.waitingTime, playbackRate: this.playbackRate, showCopyButton: this.showCopyButton, showFeedbackButtons: this.showFeedbackButtons, showEndInterviewButton: this.showEndInterviewButton, customInputs: {
650
650
  ...this.customInputs,
@@ -880,7 +880,7 @@ const ZhanshiMnmsModal = class {
880
880
  file_url: this.customInputs?.file_url || this.uploadedFileInfo?.cos_key,
881
881
  file_name: this.customInputs?.file_name || this.uploadedFileInfo?.file_name,
882
882
  job_info: this.customInputs?.job_info || this.jobDescription,
883
- interview_type: this.digitalId
883
+ ai_interview_type: this.digitalId
884
884
  } })) : (index.h("pcm-app-chat-modal", { isOpen: true, modalTitle: this.modalTitle, icon: this.icon, isShowHeader: this.isShowHeader, isNeedClose: this.isShowHeader, fullscreen: this.fullscreen, botId: "3022316191018903", showEndInterviewButton: this.showEndInterviewButton, conversationId: this.conversationId, defaultQuery: this.defaultQuery, maxRecordingTime: this.maxRecordingTime, waitingTime: this.waitingTime, playbackRate: this.playbackRate, customInputs: {
885
885
  ...this.customInputs,
886
886
  file_url: this.uploadedFileInfo?.cos_key,
@@ -1396,7 +1396,7 @@ const ChatAPPModal = class {
1396
1396
  ...this.messages,
1397
1397
  {
1398
1398
  ...newMessage,
1399
- answer: '抱歉,发生了错误,请稍后再试。',
1399
+ answer: '消息发送失败,请检查网络。',
1400
1400
  error: error,
1401
1401
  isStreaming: false,
1402
1402
  },
@@ -1788,7 +1788,7 @@ const ChatAPPModal = class {
1788
1788
  errorMessage = '未检测到摄像头或麦克风设备';
1789
1789
  }
1790
1790
  else if (error.name === 'NotReadableError') {
1791
- errorMessage = '设备正在被其他应用程序使用';
1791
+ errorMessage = '您的浏览器不支持视频录制,请切换到微信或Chrome、Edge使用';
1792
1792
  }
1793
1793
  else if (error.name === 'OverconstrainedError') {
1794
1794
  errorMessage = '摄像头不支持指定的配置';
@@ -8616,7 +8616,7 @@ const MnmsZpModal = class {
8616
8616
  file_name: this.customInputs?.file_name || this.uploadedFileInfo?.file_name,
8617
8617
  job_info: this.customInputs?.job_info || this.jobDescription,
8618
8618
  question_number: this.customInputs?.question_number || 5,
8619
- interview_type: this.digitalId
8619
+ ai_interview_type: this.digitalId
8620
8620
  } })) : (index.h("pcm-app-chat-modal", { isOpen: true, modalTitle: this.modalTitle, icon: this.icon, isShowHeader: this.isShowHeader, isNeedClose: this.isShowHeader, fullscreen: this.fullscreen, showWorkspaceHistory: this.showWorkspaceHistory, botId: "3022316191018907", digitalId: this.digitalId, conversationId: this.conversationId, defaultQuery: this.defaultQuery, maxRecordingTime: this.maxRecordingTime, waitingTime: this.waitingTime, playbackRate: this.playbackRate, showCopyButton: this.showCopyButton, showFeedbackButtons: this.showFeedbackButtons, showEndInterviewButton: this.showEndInterviewButton, customInputs: {
8621
8621
  ...this.customInputs,
8622
8622
  file_url: this.customInputs?.file_url || this.uploadedFileInfo?.cos_key,
@@ -12874,7 +12874,7 @@ const ChatVirtualAPPModal = class {
12874
12874
  ...this.messages,
12875
12875
  {
12876
12876
  ...newMessage,
12877
- answer: '抱歉,发生了错误,请稍后再试。',
12877
+ answer: '消息发送失败,请检查网络。',
12878
12878
  error: error,
12879
12879
  isStreaming: false,
12880
12880
  },
@@ -13224,7 +13224,7 @@ const ChatVirtualAPPModal = class {
13224
13224
  errorMessage = '未检测到摄像头或麦克风设备';
13225
13225
  }
13226
13226
  else if (error.name === 'NotReadableError') {
13227
- errorMessage = '设备正在被其他应用程序使用';
13227
+ errorMessage = '您的浏览器不支持视频录制,请切换到微信或Chrome、Edge使用';
13228
13228
  }
13229
13229
  else if (error.name === 'OverconstrainedError') {
13230
13230
  errorMessage = '摄像头不支持指定的配置';
@@ -14481,7 +14481,7 @@ const ChatKBModal = class {
14481
14481
  alert(error instanceof Error ? error.message : '消息发送失败,请稍后再试');
14482
14482
  this.messages = [...this.messages, {
14483
14483
  ...newMessage,
14484
- answer: '抱歉,发生了错误,请稍后再试。',
14484
+ answer: '消息发送失败,请检查网络。',
14485
14485
  error: error,
14486
14486
  isStreaming: false
14487
14487
  }];
@@ -14556,6 +14556,9 @@ const ChatKBModal = class {
14556
14556
  async loadHistoryMessages() {
14557
14557
  if (!this.conversationId)
14558
14558
  return;
14559
+ // 如果正在流式输出,直接返回
14560
+ if (this.currentStreamingMessage || this.isLoading)
14561
+ return;
14559
14562
  this.isLoadingHistory = true;
14560
14563
 
14561
14564
  try {