Remove blanket unused imports from the common crate (#292)

* Remove blanket unused imports from the common crate

Signed-off-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>

* updatE

Signed-off-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>

---------

Signed-off-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>
This commit is contained in:
José Ulises Niño Rivera 2024-11-25 19:19:06 -06:00 committed by GitHub
parent 9c6fcdb771
commit be8c3c9ea3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 11 additions and 31 deletions

View file

@ -1,8 +1,4 @@
use std::{
collections::HashMap,
time::{Duration, SystemTime, UNIX_EPOCH},
};
use crate::stream_context::{ResponseHandlerType, StreamCallContext, StreamContext};
use common::{
common_types::{
open_ai::{
@ -23,8 +19,10 @@ use http::StatusCode;
use log::{debug, trace, warn};
use proxy_wasm::{traits::HttpContext, types::Action};
use serde_json::Value;
use crate::stream_context::{ResponseHandlerType, StreamCallContext, StreamContext};
use std::{
collections::HashMap,
time::{Duration, SystemTime, UNIX_EPOCH},
};
// HttpContext is the trait that allows the Rust code to interact with HTTP objects.
impl HttpContext for StreamContext {