Hk-Gosuto / ChatGPT-Next-Web-LangChain

一键拥有你自己的 ChatGPT 网页服务。 One-Click to deploy your own ChatGPT web UI.(基于 langchain 实现的插件版本 Plugin version implemented based on langchain)
https://n3xt.chat
MIT License
1.14k stars 389 forks source link

[Feature Request]: Support image upload for Azure ChatGPT model gpt-4o #271

Closed lookx2 closed 4 months ago

lookx2 commented 4 months ago

Problem Description

When using Azure ChatGPT model gpt-4o, the image upload icon not found, it works on the ChatGPT-Next-Web but not ChatGPT-Next-Web-LangChain

Solution Description

Enable the image upload button for Azure model

Alternatives Considered

No response

Additional Context

No response

Hk-Gosuto commented 4 months ago

The function to determine if a visual model is supported can be found here: https://github.com/Hk-Gosuto/ChatGPT-Next-Web-LangChain/blob/fe9a17693ce35897ea8ab21236f964800a21c1d8/app/utils.ts#L251. You can check whether the model name you deployed matches the criteria set by this function.

lookx2 commented 4 months ago

The function to determine if a visual model is supported can be found here:

https://github.com/Hk-Gosuto/ChatGPT-Next-Web-LangChain/blob/fe9a17693ce35897ea8ab21236f964800a21c1d8/app/utils.ts#L251

. You can check whether the model name you deployed matches the criteria set by this function.

Thank you, Found the problem that I use the latest version instead of nightly. gpt-4o not include in that function yet for latest verion