Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
timonv committed Jan 11, 2025
1 parent a9488d2 commit 60484ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions swiftide-integrations/src/ollama/config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use reqwest::header::{HeaderMap, AUTHORIZATION};
use secrecy::{ExposeSecret as _, Secret};
use reqwest::header::HeaderMap;
use secrecy::Secret;
use serde::Deserialize;

const OLLAMA_API_BASE: &str = "http://localhost:11434";
Expand Down
1 change: 0 additions & 1 deletion swiftide-integrations/src/ollama/embed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use anyhow::{Context as _, Result};
use async_openai::types::CreateEmbeddingRequestArgs;
use async_trait::async_trait;

use ollama_rs::generation::embeddings::request::GenerateEmbeddingsRequest;
use swiftide_core::{EmbeddingModel, Embeddings};

use super::Ollama;
Expand Down

0 comments on commit 60484ab

Please sign in to comment.