copilot_chat: Rename o1-preview
model to o1
(#23038)
https://github.blog/news-insights/openais-o1-model-available-in-copilot-chat-and-github-models/ Release Notes: - Renamed Github Copilot Chat "o1-preview" model to "o1". --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
parent
7ed834bd79
commit
955248fee0
2 changed files with 8 additions and 8 deletions
|
@ -179,7 +179,7 @@ impl LanguageModel for CopilotChatLanguageModel {
|
|||
CopilotChatModel::Gpt4o => open_ai::Model::FourOmni,
|
||||
CopilotChatModel::Gpt4 => open_ai::Model::Four,
|
||||
CopilotChatModel::Gpt3_5Turbo => open_ai::Model::ThreePointFiveTurbo,
|
||||
CopilotChatModel::O1Preview | CopilotChatModel::O1Mini => open_ai::Model::Four,
|
||||
CopilotChatModel::O1 | CopilotChatModel::O1Mini => open_ai::Model::Four,
|
||||
CopilotChatModel::Claude3_5Sonnet => unreachable!(),
|
||||
};
|
||||
count_open_ai_tokens(request, model, cx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue