Normalize endpoint API root handling

This commit is contained in:
fawney19
2026-05-29 02:29:33 +08:00
parent ef2953038e
commit b59c724455
46 changed files with 1179 additions and 205 deletions
+3 -3
View File
@@ -1679,11 +1679,11 @@ mod tests {
executed_urls: Arc::clone(&executed_urls),
routes: vec![
(
"https://bad.example.com/v1/models".to_string(),
"https://bad.example.com/models".to_string(),
Err("connection reset".to_string()),
),
(
"https://chat.example.com/v1/models".to_string(),
"https://chat.example.com/models".to_string(),
Ok((
200,
json!({
@@ -1692,7 +1692,7 @@ mod tests {
)),
),
(
"https://responses.example.com/v1/models".to_string(),
"https://responses.example.com/models".to_string(),
Ok((
200,
json!({