-
Notifications
You must be signed in to change notification settings - Fork 59k
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] 自定义模型支持图片输入,但选择自定义模型时默认无图片输入按钮 #4663
Comments
Title: [Bug] Custom models support image input, but when selecting a custom model, there is no image input button by default. |
你把模型名称修改为带vision的就有了 |
You can change the model name to include vision. |
可是我是用的中转站如果在结尾加上vison就识别不到这个模型了欸 |
But the transfer station I am using will not be able to recognize the model if vison is added at the end. |
自己的中转站还是上游的,如果是自己部署的,类似oneapi、newapi那种,可以自己重定向一下模型名称 |
Your own transfer station is still upstream. If you deploy it yourself, like oneapi or newapi, you can redirect the model name yourself. |
上游的,用的gpt4的中转站,商家自己定义了一个叫gpt4-all的模型可以接受图片输入与4turbo一致 |
Upstream, the transfer station using gpt4 is used. The merchant defines a model called gpt4-all, which can accept image input consistent with 4turbo. |
那就只好改代码了,修改isVisionModel那个判断函数 |
Then we have to change the code and modify the isVisionModel judgment function |
好吧,或者可以提个enhancement?可以选择是否是visionmodel |
Okay, maybe you can give me an enhancement? You can choose whether it is visionmodel |
是的,已经有计划会在最新版本支持用户自由度更高的模型配置,目前,您可以在您的代码中,先修改 isVisionModel ,将需要支持图片上传能力的模型加入进去 |
Yes, there are plans to support model configuration with higher user freedom in the latest version. Currently, you can modify isVisionModel in your code first and add models that need to support image upload capabilities. |
@Dean-YZG 如果新版没那么快的话,考虑到LLM目前发展的速度,是否可以先将isVisionModel always return true? |
@Dean-YZG If the new version is not that fast, considering the current development speed of LLM, can isVisionModel always return true first? |
我觉得最简单的办法是直接再增加一个配置项 |
I think the easiest way is to directly add another configuration item |
马上就11月了,这个还是没更吗,其实很简单,给custommodel的env里面加个是否支持图片的参数就行了 |
It’s almost November. Is this still not updated? It’s actually very simple. Just add a parameter to the custommodel’s env to determine whether it supports images. |
Bug Description
自定义模型支持图片输入,但选择自定义模型时默认无图片输入按钮
Steps to Reproduce
无
Expected Behavior
希望把图片上传按钮加入
Screenshots
No response
Deployment Method
Desktop OS
No response
Desktop Browser
No response
Desktop Browser Version
No response
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response
The text was updated successfully, but these errors were encountered: