Add support for GPT-4o in Copilot Chat (#16446)
Release Notes: - Added support for GPT-4o for Copilot Chat.
This commit is contained in:
parent
86efde4b76
commit
8a320668ed
2 changed files with 7 additions and 0 deletions
|
@ -180,6 +180,7 @@ impl LanguageModel for CopilotChatLanguageModel {
|
|||
cx: &AppContext,
|
||||
) -> BoxFuture<'static, Result<usize>> {
|
||||
let model = match self.model {
|
||||
CopilotChatModel::Gpt4o => open_ai::Model::FourOmni,
|
||||
CopilotChatModel::Gpt4 => open_ai::Model::Four,
|
||||
CopilotChatModel::Gpt3_5Turbo => open_ai::Model::ThreePointFiveTurbo,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue