diff --git a/crates/tabby/src/services/chat.rs b/crates/tabby/src/services/chat.rs index 134b13fc07bf..86f95fdb18d9 100644 --- a/crates/tabby/src/services/chat.rs +++ b/crates/tabby/src/services/chat.rs @@ -219,7 +219,6 @@ mod tests { temperature: None, seed: None, presence_penalty: None, - user: None, }; let mut output = service.generate(request).await; let response = output.next().await.unwrap(); diff --git a/crates/tabby/src/services/completion.rs b/crates/tabby/src/services/completion.rs index 634674ef9d24..33706f792c18 100644 --- a/crates/tabby/src/services/completion.rs +++ b/crates/tabby/src/services/completion.rs @@ -392,12 +392,8 @@ mod tests { &self, _query: CodeSearchQuery, _limit: usize, - _offset: usize, ) -> Result { - Ok(CodeSearchResponse { - num_hits: 0, - hits: vec![], - }) + Ok(CodeSearchResponse { hits: vec![] }) } }