BabelDuck icon indicating copy to clipboard operation
BabelDuck copied to clipboard

docker部署后快捷指令问题

Open dacktang opened this issue 8 months ago • 32 comments

我用docker部署之后,快捷指令似乎无法使用,语音输入也是一样,使用的siliconflow的deepseek模型,这个功能是只有openai才能使用吗?

Image

dacktang avatar Mar 17 '25 16:03 dacktang

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: issue with shortcut command after docker deployment

Issues-translate-bot avatar Mar 17 '25 16:03 Issues-translate-bot

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is this feature only openai used in deepseek model of siliconflow?

Issues-translate-bot avatar Mar 17 '25 16:03 Issues-translate-bot

docker本地部署后页面访问没有logo这是个bug吗?

Caicai-cailo avatar Mar 18 '25 14:03 Caicai-cailo

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is this a bug if the page access does not have a logo after docker is deployed locally?

Issues-translate-bot avatar Mar 18 '25 14:03 Issues-translate-bot

docker本地部署后页面访问没有logo这是个bug吗?

不止是这个,ai修改跟ai翻译,录音也不行

dacktang avatar Mar 19 '25 02:03 dacktang

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is this a bug if the page access does not have a logo after docker local deployment?

Not only this, it is not only possible to modify and translate AI, but also to record.

Issues-translate-bot avatar Mar 19 '25 02:03 Issues-translate-bot

快捷指令和语音输入不能工作可能是环境变量配置有错误,麻烦截图看一下 .env 配置(API KEY 等信息请打码,主要是确认下是否有遗漏或者错误格式)

P.S. 这其实算是个遗留问题,未来解决后,原则上 .env 是不需要配置什么 AI 相关配置的,我这段时间实在是比较忙,还没空去解决这个问题

Orenoid avatar Mar 19 '25 02:03 Orenoid

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Shortcut commands and voice input cannot work, which may be because the environment variable configuration is incorrect. Please take a screenshot and look at the .env configuration (please code the API KEY and other information, mainly to confirm whether there are any omissions or incorrect formats)

Issues-translate-bot avatar Mar 19 '25 02:03 Issues-translate-bot

Image 我也碰到类似问题,macbook+docker部署,env 配置了stt的API [SK,用语音输入会显示“undefine",请帮忙看看,谢谢。

Image

jesse-freedom avatar Mar 19 '25 11:03 jesse-freedom

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Image I also encountered a similar problem, macbook+docker deployment, env configured stt's API [SK, and the voice input will display "undefined". Please help, thank you.

Image

Issues-translate-bot avatar Mar 19 '25 11:03 Issues-translate-bot

期待作者更新。项目很好。

Caicai-cailo avatar Mar 19 '25 12:03 Caicai-cailo

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Looking forward to the author's update. The project is very good.

Issues-translate-bot avatar Mar 19 '25 12:03 Issues-translate-bot

docker本地部署后页面访问没有logo这是个bug吗?

我这边复现了,确实是 BUG,待排查

Orenoid avatar Mar 19 '25 13:03 Orenoid

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is this a bug if the page access does not have a logo after docker local deployment?

I've reappeared here, it's indeed a bug, to be checked

Issues-translate-bot avatar Mar 19 '25 13:03 Issues-translate-bot

快捷指令和语音输入不能工作可能是环境变量配置有错误,麻烦截图看一下 .env 配置(API KEY 等信息请打码,主要是确认下是否有遗漏或者错误格式)

P.S. 这其实算是个遗留问题,未来解决后,原则上 .env 是不需要配置什么 AI 相关配置的,我这段时间实在是比较忙,还没空去解决这个问题

Image

dacktang avatar Mar 19 '25 13:03 dacktang

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Shortcut commands and voice input cannot work, which may be because the environment variable configuration is incorrect. Please take a screenshot and look at the .env configuration (please code the API KEY and other information, mainly to confirm whether there are any omissions or incorrect formats)

P.S. This is actually a legacy problem. After solving it in the future, in principle, .env does not need to configure any AI-related configurations. I am really busy during this period and have not had time to solve this problem.

Image

Issues-translate-bot avatar Mar 19 '25 13:03 Issues-translate-bot

@dacktang 快捷指令功能目前需要把你上面空着的那几个环境变量填上才能使用(遗留问题,待解决),供参考: OPENAI_CHAT_COMPLETION_URL=https://api.siliconflow.cn/v1/chat/completions OPENAI_API_KEY=xxxxxx OPENAI_MODEL_NAME=deepseek-ai/DeepSeek-V2.5

这里的配置不一定得用 OpenAI 的服务,只要是兼容 OpenAI chat 接口格式的平台就行,比如我个人使用的就是 siliconflow,另外这里选择的模型需要支持 json mode

至于语音转文本的问题,我之后排查下跟上面另一位朋友提到的返回 undefined 的现象是否同一个问题,再统一回复。 另外我这边正在着手开发集成浏览器本地 STT 的功能,预计会在一两周内上线,到时就不需要依赖 siliconflow 的语音转文本接口了。

Orenoid avatar Mar 20 '25 03:03 Orenoid

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The @dacktang shortcut function currently needs to fill in the several environment variables that are empty above you before using (legacy issues, to be solved), for reference: OPENAI_CHAT_COMPLETION_URL=https://api.siliconflow.cn/v1/chat/completes OPENAI_API_KEY=xxxxxx OPENAI_MODEL_NAME=deepseek-ai/DeepSeek-V2.5

The configuration here does not necessarily require OpenAI services. As long as it is a platform that is compatible with the OpenAI chat interface format, for example, I personally use siliconflow. In addition, the model here needs to support json mode

Issues-translate-bot avatar Mar 20 '25 03:03 Issues-translate-bot

@Caicai-cailo @dacktang logo 无法加载的问题已修复,拉取一下或自行构建最新镜像即可

Orenoid avatar Mar 22 '25 16:03 Orenoid

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@Caicai-cailo @dacktang logo The problem of not loading has been fixed. Just pull it or build the latest image by yourself.

Issues-translate-bot avatar Mar 22 '25 16:03 Issues-translate-bot

@Caicai-cailo @dacktang logo 无法加载的问题已修复,拉取一下或自行构建最新镜像即可

可以了,感谢

dacktang avatar Mar 23 '25 01:03 dacktang

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@Caicai-cailo @dacktang The problem of the logo cannot be loaded has been fixed. Just pull it or build the latest image by yourself.

OK, thanks

Issues-translate-bot avatar Mar 23 '25 01:03 Issues-translate-bot

@Caicai-cailo @dacktang logo 无法加载的问题已修复,拉取一下或自行构建最新镜像即可

谢谢。

Caicai-cailo avatar Mar 26 '25 10:03 Caicai-cailo

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@Caicai-cailo @dacktang The problem of the logo cannot be loaded has been fixed. Just pull it or build the latest image by yourself.

Thanks.

Issues-translate-bot avatar Mar 26 '25 10:03 Issues-translate-bot

语音无法识别,docker日志里报错 ⨯ Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production (node:1) ExperimentalWarning: buffer.File is an experimental feature and might change at any time (Use node --trace-warnings ... to show where the warning was created) ⨯ Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production ⨯ Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production ⨯ Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production ⨯ Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production

Caicai-cailo avatar Mar 26 '25 10:03 Caicai-cailo

我也遇到了,语音无法识别,识别后返回undefined 并且docker logs报错信息 ⨯ Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production

Dayao359 avatar Mar 29 '25 12:03 Dayao359

看起来是 SicliconFlow 那边把语音识别模型给下架了,接下来会接入浏览器本地 STT 和 Azure STT,移除原有的语音识别接口。 在此之前建议先用各个系统自带的语音输入或输入法提供的语音输入过渡。

Orenoid avatar Mar 31 '25 03:03 Orenoid

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It seems that SicliconFlow has removed the voice recognition model from the shelves. Next, it will connect to the browser's local STT and Azure STT to remove the original voice recognition interface. Before this, it is recommended to use the voice input provided by the voice input method provided by each system or the voice input transition.

Issues-translate-bot avatar Mar 31 '25 03:03 Issues-translate-bot

我用OPENAI的接口会显示“聊天模型服务暂时不可用,请稍后重试”,是哪里设置有问题吗?

oceanynh avatar May 11 '25 13:05 oceanynh

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


My interface using OPENAI will show "Chat model service is temporarily unavailable, please try again later". Is there any problem with where to set it up?

Issues-translate-bot avatar May 11 '25 13:05 Issues-translate-bot