diff options
| author | sigoden <sigoden@gmail.com> | 2023-10-30 10:22:00 +0800 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2023-10-30 10:22:00 +0800 |
| commit | 44ea384ee59fafb76882e1d6687bc4cbc6d61611 (patch) | |
| tree | 1ca679e0eb79b75a2e01411cb00509914bec5a23 /src/client/openai.rs | |
| parent | 49595053f0a55571f42582ffae4e705c82f2aa00 (diff) | |
| download | aichat-44ea384ee59fafb76882e1d6687bc4cbc6d61611.tar.gz | |
chore: remove unnecessary clippy macros
Diffstat (limited to 'src/client/openai.rs')
| -rw-r--r-- | src/client/openai.rs | 2 |
1 files changed, 0 insertions, 2 deletions
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<String>, |
