mirror of
https://github.com/katanemo/plano.git
synced 2026-05-05 22:02:43 +02:00
add health check endpoint for llm gateway (#420)
* add health check endpoint for llm gateway * fix rust tests
This commit is contained in:
parent
a402fee13b
commit
10cad4d0b7
4 changed files with 20 additions and 4 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue