ai-shifu / ai-shifu/ChatALL

[BUG] TypeError: Cannot read properties of null (reading 'messageEdgeCreate')

Offen
#968 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
JavaScript
Sterne
16.5k
Forks
1.7k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Describe the bug / 描述问题

```
TypeError: Cannot read properties of undefined (reading 'message')

TypeError: Cannot read properties of null (reading 'messageEdgeCreate')

```

### To Reproduce / 复现步骤

![Image](https://github.com/user-attachments/assets/f26d3c7a-3d86-4246-9966-c5350c11d96b)

### Expected behavior / 期望行为

.

### Screenshots / 截图

_No response_

### Devtools Info / 开发者工具信息

```
index.js:1 installing...
23index.js:1 doing fixed mapping
VTextarea.tsx:167 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: app://./fonts/materialdesignicons-webfont.fbaef2a9.woff2
19index.js:1 doing fixed mapping
App.vue:211 chat changed
17index.js:1 doing fixed mapping
App.vue:211 chat changed
15index.js:1 doing fixed mapping
App.vue:211 chat changed
27index.js:1 doing fixed mapping
App.vue:211 chat changed
12index.js:1 doing fixed mapping
App.vue:211 chat changed
12index.js:1 doing fixed mapping
App.vue:211 chat changed
14index.js:1 doing fixed mapping
Bot.js:204 Error send prompt to gpt-4o-mini@OpenAI API: TypeError: Cannot read properties of undefined (reading 'message')
at Rr.call (chat_models.js:374:34)
at async N._sendPrompt (LangChainBot.js:55:23)
at async o (Bot.js:186:63)
at async N.sendPrompt (Bot.js:200:13)
sendPrompt @ Bot.js:204
4index.js:1 doing fixed mapping
Bot.js:204 Error send prompt to gpt-4o-mini@OpenAI API: TypeError: Cannot read properties of undefined (reading 'message')
at Rr.call (chat_models.js:374:34)
at async N._sendPrompt (LangChainBot.js:55:23)
at async o (Bot.js:186:63)
at async N.sendPrompt (Bot.js:200:13)
sendPrompt @ Bot.js:204
11index.js:1 doing fixed mapping
ProxySetting.vue:289 Set(11)
ProxySetting.vue:290 Proxy(Array)
ProxySetting.vue:298 ;*.openai.com;*.aip.baidubce.com;*.azure.com;*.poe.com;*.aliyun.com;*.tiangong.cn;*.gradio.app;*.google.com;*.bing.com;*.huggingface.co
8index.js:1 doing fixed mapping
App.vue:211 chat changed
15index.js:1 doing fixed mapping
App.vue:211 chat changed
21index.js:1 doing fixed mapping
App.vue:211 chat changed
12index.js:1 doing fixed mapping
App.vue:211 chat changed
13index.js:1 doing fixed mapping
App.vue:211 chat changed
39index.js:1 doing fixed mapping
50The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
17index.js:1 doing fixed mapping
App.vue:211 chat changed
12index.js:1 doing fixed mapping
App.vue:211 chat changed
12index.js:1 doing fixed mapping
App.vue:211 chat changed
12index.js:1 doing fixed mapping
Bot.js:204 Error send prompt to gpt-4o-mini@OpenAI API: TypeError: Cannot read properties of undefined (reading 'message')
at Rr.call (chat_models.js:374:34)
at async N._sendPrompt (LangChainBot.js:55:23)
at async o (Bot.js:186:63)
at async N.sendPrompt (Bot.js:200:13)
sendPrompt @ Bot.js:204
App.vue:211 chat changed
17index.js:1 doing fixed mapping
App.vue:211 chat changed
19index.js:1 doing fixed mapping
App.vue:211 chat changed
21index.js:1 doing fixed mapping
App.vue:211 chat changed
93index.js:1 doing fixed mapping
App.vue:211 chat changed
23index.js:1 doing fixed mapping
Bot.js:204 Error send prompt to Code-Llama-34b@Poe: TypeError: Cannot read properties of null (reading 'messageEdgeCreate')
at PoeBot.js:199:42
sendPrompt @ Bot.js:204
Bot.js:204 Error send prompt to ChatGPT 3.5@Poe: TypeError: Cannot read properties of null (reading 'messageEdgeCreate')
at PoeBot.js:199:42
sendPrompt @ Bot.js:204
2index.js:1 doing fixed mapping
Bot.js:204 Error send prompt to gpt-4o-mini@OpenAI API: TypeError: Cannot read properties of undefined (reading 'message')
at Rr.call (chat_models.js:374:34)
at async N._sendPrompt (LangChainBot.js:55:23)
at async o (Bot.js:186:63)
at async N.sendPrompt (Bot.js:200:13)
sendPrompt @ Bot.js:204
Bot.js:204 Error send prompt to Assistant@Poe: TypeError: Cannot read properties of null (reading 'messageEdgeCreate')
at PoeBot.js:199:42
sendPrompt @ Bot.js:204
Bot.js:204 Error send prompt to Google-PaLM-2@Poe: TypeError: Cannot read properties of null (reading 'messageEdgeCreate')
at PoeBot.js:199:42
sendPrompt @ Bot.js:204
3index.js:1 doing fixed mapping
options.js:36 WebSocket connection to 'wss://tch562603.tch.poe.com/up/chan106-8888/updates?min_seq=8314971380&channel=poe-chan106-8888-azanmdgeyulbyunigsxj&hash=1701276053656135930' failed:
createWebSocket @ options.js:36
Show 1 more frame
Show less
options.js:36 WebSocket connection to 'wss://tch666445.tch.poe.com/up/chan113-8888/updates?min_seq=9435547957&channel=poe-chan113-8888-csxwrjjahaeamnbusnqr&hash=913605993030205683' failed:
createWebSocket @ options.js:36
Show 1 more frame
Show less
index.js:1 doing fixed mapping
options.js:36 WebSocket connection to 'wss://tch63934.tch.poe.com/up/chan119-8888/updates?min_seq=8166654679&channel=poe-chan119-8888-cadwzgewenoklmgtlolo&hash=4282126834620575621' failed:
createWebSocket @ options.js:36
Show 1 more frame
Show less
options.js:36 WebSocket connection to 'wss://tch472135.tch.poe.com/up/chan103-8888/updates?min_seq=9538749612&channel=poe-chan103-8888-tpabnhnxvxfnenvazqif&hash=9176923918674037214' failed:
createWebSocket @ options.js:36
Show 1 more frame
Show less
32index.js:1 doing fixed mapping
ProxySetting.vue:289 Set(11)
ProxySetting.vue:290 Proxy(Array)
ProxySetting.vue:298 ;*.openai.com;*.aip.baidubce.com;*.azure.com;*.poe.com;*.aliyun.com;*.tiangong.cn;*.gradio.app;*.google.com;*.bing.com;*.huggingface.co
53index.js:1 doing fixed mapping
App.vue:211 chat changed
23index.js:1 doing fixed mapping
Bot.js:204 Error send prompt to gpt-4o-mini@OpenAI API: TypeError: Cannot read properties of undefined (reading 'message')
at Rr.call (chat_models.js:374:34)
at async N._sendPrompt (LangChainBot.js:55:23)
at async o (Bot.js:186:63)
at async N.sendPrompt (Bot.js:200:13)
sendPrompt @ Bot.js:204
Bot.js:204 Error send prompt to Code-Llama-34b@Poe: TypeError: Cannot read properties of null (reading 'messageEdgeCreate')
at PoeBot.js:199:42
sendPrompt @ Bot.js:204
Bot.js:204 Error send prompt to ChatGPT 3.5@Poe: TypeError: Cannot read properties of null (reading 'messageEdgeCreate')
at PoeBot.js:199:42
sendPrompt @ Bot.js:204
Bot.js:204 Error send prompt to Assistant@Poe: TypeError: Cannot read properties of null (reading 'messageEdgeCreate')
at PoeBot.js:199:42
sendPrompt @ Bot.js:204
Bot.js:204 Error send prompt to Google-PaLM-2@Poe: TypeError: Cannot read properties of null (reading 'messageEdgeCreate')
at PoeBot.js:199:42
sendPrompt @ Bot.js:204
options.js:36 WebSocket connection to 'wss://tch19345.tch.poe.com/up/chan106-8888/updates?min_seq=8314971380&channel=poe-chan106-8888-azanmdgeyulbyunigsxj&hash=1701276053656135930' failed:
createWebSocket @ options.js:36
Show 1 more frame
Show less
options.js:36 WebSocket connection to 'wss://tch907965.tch.poe.com/up/chan113-8888/updates?min_seq=9435547957&channel=poe-chan113-8888-csxwrjjahaeamnbusnqr&hash=913605993030205683' failed:
createWebSocket @ options.js:36
Show 1 more frame
Show less
options.js:36 WebSocket connection to 'wss://tch200875.tch.poe.com/up/chan119-8888/updates?min_seq=8166654679&channel=poe-chan119-8888-cadwzgewenoklmgtlolo&hash=4282126834620575621' failed:
createWebSocket @ options.js:36
Show 1 more frame
Show less
options.js:36 WebSocket connection to 'wss://tch332352.tch.poe.com/up/chan103-8888/updates?min_seq=9538749612&channel=poe-chan103-8888-tpabnhnxvxfnenvazqif&hash=9176923918674037214' failed:
createWebSocket @ options.js:36
Show 1 more frame
Show less
13index.js:1 doing fixed mapping
163Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
```

### OS and version / 操作系统版本

win10

### ChatALL version / ChatALL 版本

v1.83.108

### Network / 网络

yes

### Additional context / 其它相关信息

_No response_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.