mirror of
https://github.com/katanemo/plano.git
synced 2026-06-26 15:39:40 +02:00
remove dead code
This commit is contained in:
parent
2ba5f0866d
commit
96ce6fb527
1 changed files with 0 additions and 16 deletions
|
|
@ -305,22 +305,6 @@ impl HttpContext for StreamContext {
|
||||||
self.context_id, _end_of_stream
|
self.context_id, _end_of_stream
|
||||||
);
|
);
|
||||||
|
|
||||||
// if let Some(user_message) = self.user_message.as_ref() {
|
|
||||||
// if let Some(prompt) = user_message.content.as_ref() {
|
|
||||||
// debug!("setting user-message header: {}", prompt);
|
|
||||||
// self.set_http_response_header("x-user-message", Some(&prompt));
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
// let tftt_time_ms = get_current_time()
|
|
||||||
// .unwrap()
|
|
||||||
// .duration_since(self.start_time.unwrap())
|
|
||||||
// .unwrap()
|
|
||||||
// .as_millis();
|
|
||||||
|
|
||||||
// let tftt_time = tftt_time_ms.to_string();
|
|
||||||
// self.set_http_response_header("x-time-to-first-token", Some(&tftt_time));
|
|
||||||
|
|
||||||
self.set_property(
|
self.set_property(
|
||||||
vec!["metadata", "filter_metadata", "llm_filter", "user_prompt"],
|
vec!["metadata", "filter_metadata", "llm_filter", "user_prompt"],
|
||||||
Some("hello world from filter".as_bytes()),
|
Some("hello world from filter".as_bytes()),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue