diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-30 00:25:35 +0000 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2024-04-30 00:25:35 +0000 |
| commit | e7fa6c5a208347b0e5aa779b3ea477f5f1fe41c6 (patch) | |
| tree | d6888543d645d63dbf98363365c14cdda9de1406 /src/client/openai_compatible.rs | |
| parent | a50b32ca21d1d103c6c5f239f30fe8062a23e1fa (diff) | |
| download | aichat-e7fa6c5a208347b0e5aa779b3ea477f5f1fe41c6.tar.gz | |
refactor: improve code quality
Diffstat (limited to 'src/client/openai_compatible.rs')
| -rw-r--r-- | src/client/openai_compatible.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/openai_compatible.rs b/src/client/openai_compatible.rs index ba3a751..d7aff2b 100644 --- a/src/client/openai_compatible.rs +++ b/src/client/openai_compatible.rs @@ -1,7 +1,7 @@ use super::openai::openai_build_body; -use super::{ExtraConfig, Model, ModelConfig, OpenAICompatibleClient, PromptType, SendData}; - -use crate::utils::PromptKind; +use super::{ + ExtraConfig, Model, ModelConfig, OpenAICompatibleClient, PromptKind, PromptType, SendData, +}; use anyhow::Result; use reqwest::{Client as ReqwestClient, RequestBuilder}; |
