From 992125bec2e1a00dd8ea443b704263a806d7a478 Mon Sep 17 00:00:00 2001 From: Peter Tripp Date: Wed, 5 Feb 2025 10:03:45 -0500 Subject: [PATCH] Revert "copilot: Correct o3-mini context length" (#24275) Reverts zed-industries/zed#24152 See comment: https://github.com/zed-industries/zed/pull/24152#issuecomment-2636808170 Manually confirmed >20k generates error. --- crates/copilot/src/copilot_chat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/copilot/src/copilot_chat.rs b/crates/copilot/src/copilot_chat.rs index b0ec1cefd2f74c57658cf555fd90489135612b9e..b45bd6270c067b7a44b5aae7bb7b8408c71c5749 100644 --- a/crates/copilot/src/copilot_chat.rs +++ b/crates/copilot/src/copilot_chat.rs @@ -89,7 +89,7 @@ impl Model { Self::Gpt4o => 64000, Self::Gpt4 => 32768, Self::Gpt3_5Turbo => 12288, - Self::O3Mini => 200_000, + Self::O3Mini => 20000, Self::O1 => 20000, Self::Claude3_5Sonnet => 200_000, }