Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Realtime chat fail #5825

Open
silenceroom opened this issue Nov 14, 2024 · 10 comments
Open

[Bug] Realtime chat fail #5825

silenceroom opened this issue Nov 14, 2024 · 10 comments
Labels
bug Something isn't working question Further information is requested

Comments

@silenceroom
Copy link

📦 Deployment Method

Docker

📌 Version

2.15.8

💻 Operating System

macOS

📌 System Version

14.2

🌐 Browser

Chrome

📌 Browser Version

130.0.6723.92

🐛 Bug Description

在启用 “实时聊天”并配置 api key 后,在聊天窗口页面点击“Realtime chat" 按钮后系统报错。

报错信息如下图所示:

截屏2024-11-14 22 01 57

📷 Recurrence Steps

  1. 启用Realtime Chat 并配置 api key
  2. 回到聊天窗口页,点击“realtime chat” 按钮。
  3. 出现报错截图。

🚦 Expected Behavior

No response

📝 Additional Information

No response

@silenceroom silenceroom added the bug Something isn't working label Nov 14, 2024
@Dogtiti
Copy link
Member

Dogtiti commented Nov 15, 2024

azure还是openai?

@Dogtiti Dogtiti added the question Further information is requested label Nov 15, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Is azure openai?

@hikoxy
Copy link

hikoxy commented Nov 15, 2024

出现类似问题,openai
image

@hp0912
Copy link

hp0912 commented Nov 16, 2024

话说,Realtime 是不是只能使用官方的 key 啊,不支持 one-api、new-api 代理? 现在 new-api 已经支持了Realtime

@capxax
Copy link

capxax commented Nov 17, 2024

是不是和访问音频 只能127.0.0.1 和https有关

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Is it related to the fact that audio access can only be done via 127.0.0.1 and https?

@silenceroom
Copy link
Author

azure还是openai?

OpenAI

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Azure is openai?

OpenAI

@lloydzhou
Copy link
Member

@capxax

是不是和访问音频 只能127.0.0.1 和https有关
浏览器确实限制了只有https才能打开音频。
不过连接openai只需要创建websocket,这个只要key正确了,应该就能连山

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


@capxax

Is it related to the fact that audio access can only be done through 127.0.0.1 and https?
The browser does limit the ability to open audio only over https.
However, to connect to openai, you only need to create a websocket. As long as the key is correct, you should be able to connect to the mountain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants