From 44ea384ee59fafb76882e1d6687bc4cbc6d61611 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 30 Oct 2023 10:22:00 +0800 Subject: chore: remove unnecessary clippy macros --- src/client/openai.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/client/openai.rs') diff --git a/src/client/openai.rs b/src/client/openai.rs index 0141d2d..4ccb1b7 100644 --- a/src/client/openai.rs +++ b/src/client/openai.rs @@ -16,7 +16,6 @@ use std::time::Duration; const API_URL: &str = "https://api.openai.com/v1/chat/completions"; -#[allow(clippy::module_name_repetitions)] #[derive(Debug)] pub struct OpenAIClient { global_config: SharedConfig, @@ -24,7 +23,6 @@ pub struct OpenAIClient { model_info: ModelInfo, } -#[allow(clippy::struct_excessive_bools)] #[derive(Debug, Clone, Deserialize, Default)] pub struct OpenAIConfig { pub api_key: Option, -- cgit v1.2.3