From e7fa6c5a208347b0e5aa779b3ea477f5f1fe41c6 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 30 Apr 2024 00:25:35 +0000 Subject: refactor: improve code quality --- src/client/ollama.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/client/ollama.rs') diff --git a/src/client/ollama.rs b/src/client/ollama.rs index eebf301..a2688a5 100644 --- a/src/client/ollama.rs +++ b/src/client/ollama.rs @@ -1,10 +1,8 @@ use super::{ catch_error, message::*, CompletionDetails, ExtraConfig, Model, ModelConfig, OllamaClient, - PromptType, SendData, SseHandler, + PromptKind, PromptType, SendData, SseHandler, }; -use crate::utils::PromptKind; - use anyhow::{anyhow, bail, Result}; use futures_util::StreamExt; use reqwest::{Client as ReqwestClient, RequestBuilder}; -- cgit v1.2.3