From 36018ff2dc8fdb57dbbfc8c53f71007f1d408bac Mon Sep 17 00:00:00 2001 From: Marcel Kersten Date: Fri, 27 Dec 2024 19:09:50 +0100 Subject: [PATCH] copilot: Update Copilot Chat to o1 GA model version (#22376) Closes #22375 Release Notes: - Fixed model version of o1 in GitHub Copilot Chat --------- Co-authored-by: Peter Tripp --- crates/copilot/src/copilot_chat.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/copilot/src/copilot_chat.rs b/crates/copilot/src/copilot_chat.rs index cb35b44a077b2..da92bf25e21f9 100644 --- a/crates/copilot/src/copilot_chat.rs +++ b/crates/copilot/src/copilot_chat.rs @@ -34,9 +34,9 @@ pub enum Model { Gpt4, #[serde(alias = "gpt-3.5-turbo", rename = "gpt-3.5-turbo")] Gpt3_5Turbo, - #[serde(alias = "o1-preview", rename = "o1-preview-2024-09-12")] + #[serde(alias = "o1-preview", rename = "o1")] O1Preview, - #[serde(alias = "o1-mini", rename = "o1-mini-2024-09-12")] + #[serde(alias = "o1-mini", rename = "o1-mini")] O1Mini, #[serde(alias = "claude-3-5-sonnet", rename = "claude-3.5-sonnet")] Claude3_5Sonnet,