Appease clippy
This commit is contained in:
parent
af66570bfe
commit
4b096b9a6b
3 changed files with 2 additions and 5 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -8227,9 +8227,7 @@ dependencies = [
|
||||||
"language",
|
"language",
|
||||||
"language_model",
|
"language_model",
|
||||||
"language_models",
|
"language_models",
|
||||||
"log",
|
|
||||||
"lsp",
|
"lsp",
|
||||||
"ollama",
|
|
||||||
"paths",
|
"paths",
|
||||||
"project",
|
"project",
|
||||||
"regex",
|
"regex",
|
||||||
|
|
|
@ -25,8 +25,7 @@ indoc.workspace = true
|
||||||
inline_completion.workspace = true
|
inline_completion.workspace = true
|
||||||
language.workspace = true
|
language.workspace = true
|
||||||
language_models.workspace = true
|
language_models.workspace = true
|
||||||
log.workspace = true
|
|
||||||
ollama.workspace = true
|
|
||||||
paths.workspace = true
|
paths.workspace = true
|
||||||
regex.workspace = true
|
regex.workspace = true
|
||||||
settings.workspace = true
|
settings.workspace = true
|
||||||
|
|
|
@ -1399,7 +1399,7 @@ mod tests {
|
||||||
|
|
||||||
// Test the model switching function logic
|
// Test the model switching function logic
|
||||||
// This tests the internal logic without actually modifying settings
|
// This tests the internal logic without actually modifying settings
|
||||||
let test_models = vec![
|
let test_models = [
|
||||||
language_models::provider::ollama::AvailableModel {
|
language_models::provider::ollama::AvailableModel {
|
||||||
name: "llama3.2:3b".to_string(),
|
name: "llama3.2:3b".to_string(),
|
||||||
display_name: Some("Llama 3.2 3B".to_string()),
|
display_name: Some("Llama 3.2 3B".to_string()),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue