mirror of
https://github.com/katanemo/plano.git
synced 2026-07-05 15:52:12 +02:00
remove rs changes
This commit is contained in:
parent
ca766f81fa
commit
2fe91932d3
2 changed files with 8 additions and 6 deletions
|
|
@ -176,8 +176,6 @@ impl HttpContext for StreamContext {
|
|||
// Envoy's HTTP model is event driven. The WASM ABI has given implementors events to hook onto
|
||||
// the lifecycle of the http request and response.
|
||||
fn on_http_request_headers(&mut self, _num_headers: usize, _end_of_stream: bool) -> Action {
|
||||
let request_path = self.get_http_request_header(":path").unwrap_or_default();
|
||||
debug!("request_path: {}", request_path);
|
||||
self.select_llm_provider();
|
||||
|
||||
// if endpoint is not set then use provider name as routing header so envoy can resolve the cluster name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue