From c3d92bb0468c86f5f7d5093a0d46b90a3b752658 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 03:02:07 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- crates/http-api-bindings/src/embedding/mod.rs | 3 +-- crates/ollama-api-bindings/src/embedding.rs | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/http-api-bindings/src/embedding/mod.rs b/crates/http-api-bindings/src/embedding/mod.rs index f363b58cea9e..508b58db73d5 100644 --- a/crates/http-api-bindings/src/embedding/mod.rs +++ b/crates/http-api-bindings/src/embedding/mod.rs @@ -3,12 +3,11 @@ mod openai; mod voyage; use core::panic; -use std::sync::Arc; +use std::{sync::Arc, time::Duration}; use async_trait::async_trait; use llama::LlamaCppEngine; use ratelimit::Ratelimiter; -use std::time::Duration; use tabby_common::config::HttpModelConfig; use tabby_inference::Embedding; diff --git a/crates/ollama-api-bindings/src/embedding.rs b/crates/ollama-api-bindings/src/embedding.rs index 6535cb9b8e78..5294074c710c 100644 --- a/crates/ollama-api-bindings/src/embedding.rs +++ b/crates/ollama-api-bindings/src/embedding.rs @@ -1,4 +1,3 @@ -use std::sync::Arc; use async_trait::async_trait; use ollama_rs::Ollama;