处理流式数据的错误报警
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- typescript
- 領域
- devtools
調査の方向性
Start by reproducing the streaming request failure and inspect useAIChat.ts around lines 149, 296-314, and 369, along with the call from AIChatView.vue. Determine whether vConsole is causing the undefined length error or only reporting an application error. Done means the cause is isolated and the streaming request no longer produces the reported failure or an unjustified fallback.
索引モデルが issue の本文から書いたものです。
説明
vConsole Version:反正当前npm包里最新的
在进行流式请求时,vonsole好像会对数据进行错误的处理导致输出(匿名函数报的错,我不知道啥类型)报错
部分个人输出:
installHook.js:1 ⚠️ 流式请求失败: Cannot read properties of undefined (reading 'length')
overrideMethod @ installHook.js:1
e.callOriginalConsole @ vconsole.min.js:10
e.addLog @ vconsole.min.js:10
(匿名) @ vconsole.min.js:10
(匿名) @ useAIChat.ts:296
await in (匿名)
(匿名) @ useAIChat.ts:369
handleSendChat @ AIChatView.vue:419
(匿名) @ AIChatView.vue:382
callWithErrorHandling @ vue.runtime.esm-bundler-CKUwx75R.js?v=d14f9530:1873
callWithAsyncErrorHandling @ vue.runtime.esm-bundler-CKUwx75R.js?v=d14f9530:1880
invoker @ vue.runtime.esm-bundler-CKUwx75R.js?v=d14f9530:7572
installHook.js:1 ⚠️ 移除流式占位符,尝试降级到非流式模式
overrideMethod @ installHook.js:1
e.callOriginalConsole @ vconsole.min.js:10
e.addLog @ vconsole.min.js:10
(匿名) @ vconsole.min.js:10
(匿名) @ useAIChat.ts:300
await in (匿名)
(匿名) @ useAIChat.ts:369
handleSendChat @ AIChatView.vue:419
(匿名) @ AIChatView.vue:382
callWithErrorHandling @ vue.runtime.esm-bundler-CKUwx75R.js?v=d14f9530:1873
callWithAsyncErrorHandling @ vue.runtime.esm-bundler-CKUwx75R.js?v=d14f9530:1880
invoker @ vue.runtime.esm-bundler-CKUwx75R.js?v=d14f9530:7572
installHook.js:1 [sendStreamMessage] 流式已收到数据但后续出错,不再降级
overrideMethod @ installHook.js:1
e.callOriginalConsole @ vconsole.min.js:10
e.addLog @ vconsole.min.js:10
(匿名) @ vconsole.min.js:10
(匿名) @ useAIChat.ts:314
await in (匿名)
(匿名) @ useAIChat.ts:369
handleSendChat @ AIChatView.vue:419
(匿名) @ AIChatView.vue:382
callWithErrorHandling @ vue.runtime.esm-bundler-CKUwx75R.js?v=d14f9530:1873
callWithAsyncErrorHandling @ vue.runtime.esm-bundler-CKUwx75R.js?v=d14f9530:1880
invoker @ vue.runtime.esm-bundler-CKUwx75R.js?v=d14f9530:7572
installHook.js:1 [handleSendMessage] 错误详情: TypeError: Cannot read properties of undefined (reading 'length')
at vconsole.min.js:10:221845
at async sendStreamMessage (useAIChat.ts:149:35)
at async handleSendMessage (useAIChat.ts:369:22)
at async handleSendChat (AIChatView.vue:419:18)
- 主要言語
- TypeScript
- スター
- 17.5k
- フォーク
- 3k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Tencent/vConsole のほかの issue
-
[Network] fetch proxy 读取分块流到 EOF 时抛 TypeError: Cannot read properties of undefined (reading 'length')再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
Uncaught TypeError when assigning null to xhr.onreadystatechange/onprogress (breaks hls.js abort)対応中かも @cyhano が 76 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
Prototype Pollution in network.model.ts対応中かも @dvd233 が 77 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
不发新版 npm 包了吗オープン
難易度 2/5 1時間未満 初心者へのやさしさ 15/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Tencent/vConsole の issue をすべて見る
似ている issue
-
status: triage type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
WhiteTowerAI/ohmygame#1225 ·
メンテナーはふだん 1 日以内に返信
-
Add: KBS TV SDオープンstreams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ardia-browser/ardia#5042 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
keycloakify/oidc-spa#211 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信