Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix a stupid bug that was dropping system prompts for Claude (#13626)
Nathan Sobo61bbb3539aea
diff --git a/crates/assistant/src/completion_provider/anthropic.rs b/crates/assistant/src/completion_provider/anthropic.rsindex 669e8cb808b..87236501a94 100644--- a/crates/assistant/src/completion_provider/anthropic.rs+++ b/crates/assistant/src/completion_provider/anthropic.rs@@ -236,7 +236,7 @@ pub fn preprocess_anthropic_request(request: &mut LanguageModelRequest) {}if !system_message.is_empty() {- request.messages.insert(+ new_messages.insert(0,LanguageModelRequestMessage {role: Role::System,