summaryrefslogtreecommitdiffstats
path: root/src/client/openai.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/openai.rs')
-rw-r--r--src/client/openai.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/openai.rs b/src/client/openai.rs
index 76a9f78..7e8fb87 100644
--- a/src/client/openai.rs
+++ b/src/client/openai.rs
@@ -1,10 +1,8 @@
use super::{
catch_error, sse_stream, CompletionDetails, ExtraConfig, Model, ModelConfig, OpenAIClient,
- PromptType, SendData, SsMmessage, SseHandler,
+ PromptKind, PromptType, SendData, SsMmessage, SseHandler,
};
-use crate::utils::PromptKind;
-
use anyhow::{anyhow, Result};
use reqwest::{Client as ReqwestClient, RequestBuilder};
use serde::Deserialize;