mirror of
https://github.com/katanemo/plano.git
synced 2026-06-29 15:49:40 +02:00
fix rust tests
This commit is contained in:
parent
d9c8f7ad7b
commit
ac7c50bc23
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ fn wasm_module() -> String {
|
||||||
fn request_headers_expectations(module: &mut Tester, http_context: i32) {
|
fn request_headers_expectations(module: &mut Tester, http_context: i32) {
|
||||||
module
|
module
|
||||||
.call_proxy_on_request_headers(http_context, 0, false)
|
.call_proxy_on_request_headers(http_context, 0, false)
|
||||||
|
.expect_get_header_map_value(Some(MapType::HttpRequestHeaders), Some(":path"))
|
||||||
|
.returning(Some("/v1/chat/completions"))
|
||||||
.expect_get_header_map_value(
|
.expect_get_header_map_value(
|
||||||
Some(MapType::HttpRequestHeaders),
|
Some(MapType::HttpRequestHeaders),
|
||||||
Some("x-arch-llm-provider-hint"),
|
Some("x-arch-llm-provider-hint"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue