lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

[Request] 为 OpenAI gpt-4-turbo API 更新支持

Open HChaZZY opened this issue 10 months ago • 7 comments

🥰 需求描述

OpenAI 更新了gpt-4-turbo-2024-04-09以及指向其的gpt-4-turbo。 这是gpt-4-turbo-preview的生产模型,允许图像输入和函数调用。 建议添加对其的支持。

🧐 解决方案

添加对gpt-4-turbo-2024-04-09以及gpt-4-turbo的支持。

📝 补充信息

No response

HChaZZY avatar Apr 11 '24 01:04 HChaZZY

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


🥰 Description of requirements

OpenAI updated gpt-4-turbo-2024-04-09 and gpt-4-turbo pointing to it. This is the production model of gpt-4-turbo-preview, allowing image input and function calls. It is recommended to add support for it.

🧐 Solution

Add support for gpt-4-turbo-2024-04-09 and gpt-4-turbo.

📝 Supplementary information

No response

lobehubbot avatar Apr 11 '24 01:04 lobehubbot

👀 @PeterBilly

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

lobehubbot avatar Apr 11 '24 01:04 lobehubbot

可以的。在我们还没支持前,你应该可以通过拉取模型列表的方式获取并使用最新的模型

arvinxx avatar Apr 11 '24 02:04 arvinxx

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


OK. Before we support it, you should be able to get and use the latest model by pulling the model list

lobehubbot avatar Apr 11 '24 02:04 lobehubbot

可以的。在我们还没支持前,你应该可以通过拉取模型列表的方式获取并使用最新的模型

拉取不到 4 turbo image image

devyujie avatar Apr 11 '24 04:04 devyujie

拉不到应该是你的 model provider 还不支持吧?

arvinxx avatar Apr 11 '24 05:04 arvinxx

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


If you can't pull it, it should be because your model provider doesn't support it yet, right?

lobehubbot avatar Apr 11 '24 05:04 lobehubbot

I do see them, but they do not specify that function calling and vision processing is there to use yet. Looking forward for the update! Thanks!

Screenshot 2024-04-11 at 10 32 28 Screenshot 2024-04-11 at 10 32 45

sebastianarena avatar Apr 11 '24 14:04 sebastianarena

✅ @PeterBilly

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot avatar Apr 11 '24 16:04 lobehubbot

可以的。在我们还没支持前,你应该可以通过拉取模型列表的方式获取并使用最新的模型

拉取不到 4 turbo image image

请问这个拉取模型是在哪里设置的?

DEAN-Cherry avatar Apr 12 '24 08:04 DEAN-Cherry

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


Yes. Before we support it, you should be able to get and use the latest model by pulling the model list

Cannot pull 4 turbo ![image](https://private-user-images.githubusercontent.com/48620527/321502679-bbc92bb4-8271-40a3-8e0c-05b508cfd7bf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..zR 7bo9NpkEjmNTrtY4awIm5UxtaHgKV7FBau_68O8d0) ! [image](https://private-user-images.githubusercontent.com/48620527/321502706-03b6d36f-29bb-4318-bf86-2fc4a7d81a4c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..BQuvjBYrSaGSO cE7cqb8OFxSMBlYeaedp07Rd42bdFw)

Where is this pull model set up?

lobehubbot avatar Apr 12 '24 08:04 lobehubbot