fix rust tests

This commit is contained in:
Adil Hafeez 2025-03-03 10:59:01 -08:00
parent d9c8f7ad7b
commit ac7c50bc23
No known key found for this signature in database
GPG key ID: 9B18EF7691369645

View file

@ -18,6 +18,8 @@ fn wasm_module() -> String {
fn request_headers_expectations(module: &mut Tester, http_context: i32) {
module
.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(
Some(MapType::HttpRequestHeaders),
Some("x-arch-llm-provider-hint"),