Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

catching up with main

KCaverly166ca2a227c0
diff --cc crates/assistant/src/prompts.rs
index 1e43833feae,bf041dff523..716fd435057
--- a/crates/assistant/src/prompts.rs
+++ b/crates/assistant/src/prompts.rs
@@@ -1,10 -1,8 +1,10 @@@
use crate::codegen::CodegenKind;
use language::{BufferSnapshot, OffsetRangeExt, ToOffset};
- use std::cmp;
+ use std::cmp::{self, Reverse};
use std::fmt::Write;
+use std::iter;
use std::ops::Range;
+use tiktoken_rs::ChatCompletionRequestMessage;
fn summarize(buffer: &BufferSnapshot, selected_range: Range<impl ToOffset>) -> String {
#[derive(Debug)]