summaryrefslogtreecommitdiffstats
path: root/src/client/azure_openai.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-11-02 10:45:11 +0800
committerGitHub <noreply@github.com>2023-11-02 10:45:11 +0800
commit7c6841782d36faacc2aa3616dc3ed1b9403fa26e (patch)
tree12d51728e056dbd4e57fc5977b7c51b2b60c06ae /src/client/azure_openai.rs
parent444f4ebe9de8aa68afdf8d39b734a8543b9b5c4b (diff)
downloadaichat-7c6841782d36faacc2aa3616dc3ed1b9403fa26e.tar.gz
refactor: improve code quanity (#197)
- move model_info.rs/message.rs to clients/ - rename SharedConfig to GlobalConfig
Diffstat (limited to 'src/client/azure_openai.rs')
-rw-r--r--src/client/azure_openai.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/azure_openai.rs b/src/client/azure_openai.rs
index fe3ec0f..f8a9dae 100644
--- a/src/client/azure_openai.rs
+++ b/src/client/azure_openai.rs
@@ -1,7 +1,7 @@
use super::openai::{openai_build_body, OPENAI_TOKENS_COUNT_FACTORS};
-use super::{AzureOpenAIClient, ExtraConfig, PromptType, SendData};
+use super::{AzureOpenAIClient, ExtraConfig, PromptType, SendData, ModelInfo};
-use crate::{config::ModelInfo, utils::PromptKind};
+use crate::utils::PromptKind;
use anyhow::{anyhow, Result};
use async_trait::async_trait;