summaryrefslogtreecommitdiffstats
path: root/src/client/ernie.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ernie.rs')
-rw-r--r--src/client/ernie.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/ernie.rs b/src/client/ernie.rs
index 5e600af..a0187a4 100644
--- a/src/client/ernie.rs
+++ b/src/client/ernie.rs
@@ -1,10 +1,8 @@
use super::{
maybe_catch_error, patch_system_message, sse_stream, Client, CompletionDetails, ErnieClient,
- ExtraConfig, Model, ModelConfig, PromptType, SendData, SsMmessage, SseHandler,
+ ExtraConfig, Model, ModelConfig, PromptKind, PromptType, SendData, SsMmessage, SseHandler,
};
-use crate::utils::PromptKind;
-
use anyhow::{anyhow, Context, Result};
use async_trait::async_trait;
use chrono::Utc;