mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
clippy/fmt
This commit is contained in:
parent
62d917d9a5
commit
1bfa2c6bed
1 changed files with 1 additions and 5 deletions
|
|
@ -16,7 +16,7 @@ use hermesllm::providers::openai::types::{
|
|||
};
|
||||
use hermesllm::Provider;
|
||||
use http::StatusCode;
|
||||
use log::{debug, info, trace, warn};
|
||||
use log::{debug, info, warn};
|
||||
use proxy_wasm::hostcalls::get_current_time;
|
||||
use proxy_wasm::traits::*;
|
||||
use proxy_wasm::types::*;
|
||||
|
|
@ -31,7 +31,6 @@ pub struct StreamContext {
|
|||
metrics: Rc<Metrics>,
|
||||
ratelimit_selector: Option<Header>,
|
||||
streaming_response: bool,
|
||||
streaming_buffer: Option<Vec<u8>>,
|
||||
response_tokens: usize,
|
||||
is_chat_completions_request: bool,
|
||||
llm_providers: Rc<LlmProviders>,
|
||||
|
|
@ -73,7 +72,6 @@ impl StreamContext {
|
|||
user_message: None,
|
||||
traces_queue,
|
||||
request_body_sent_time: None,
|
||||
streaming_buffer: None,
|
||||
}
|
||||
}
|
||||
fn llm_provider(&self) -> &LlmProvider {
|
||||
|
|
@ -114,8 +112,6 @@ impl StreamContext {
|
|||
_ => {}
|
||||
}
|
||||
|
||||
if self.llm_provider.as_ref().unwrap().provider_interface == LlmProviderType::Groq {}
|
||||
|
||||
debug!(
|
||||
"request received: llm provider hint: {}, selected llm: {}, model: {}",
|
||||
self.get_http_request_header(ARCH_PROVIDER_HINT_HEADER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue