lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
42.97k stars 9.67k forks source link

[Request] 希望官方内置插件dall-e-3支持客户端请求 #2970

Open ZeroDeng01 opened 3 months ago

ZeroDeng01 commented 3 months ago

🥰 需求描述

希望官方内置插件dall-e-3支持客户端请求: Cloud版本多数人都是部署在vercel,然后vercel免费订阅方案有函数10s超时的限制,dall-e等图片接口一般接口返回数据都比较慢容易触发vercel的超时导致请求终端无法生成图像。

🧐 解决方案

让dall-e-3等作图接口的请求方式可以同步对应渠道的设置项使用客户端请求模式的设定,应为这类费时操作用户可以选择使用客户端请求模式避免vercel超时问题。

📝 补充信息

异常截图: image image

lobehubbot commented 3 months ago

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


🥰 Description of requirements

I hope the official built-in plug-in dall-e-3 supports client requests: Most people deploy the Cloud version on vercel, and the vercel free subscription plan has a function timeout limit of 10s. General interfaces such as dall-e for image interfaces return data slowly and easily trigger vercel's timeout, causing the requesting terminal to be unable to generate images.

🧐 Solution

Let the request method of drawing interfaces such as dall-e-3 synchronize the settings of the corresponding channel's setting item Use client request mode. For such time-consuming operations, users can choose to use client request mode to avoid vercel timeout problems.

📝 Supplementary information

Abnormal screenshot: image image

lobehubbot commented 3 months ago

👀 @ZeroDeng01

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。