The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(inference): two more merged tests pinned the BYOK inheritance\n\n`inference_provider_auth_e2e.rs` was not the only suite asserting that an\nunset chat-tier route borrows a sibling's BYOK provider. A sweep of every\n`provider_for_role` call site in `tests/` and `src/` found two more, both\nmerged after #6109's blast radius was written:\n\n inference_agent_raw_coverage_e2e.rs:1957 reasoning inherits mock:[email protected]\n inference_provider_raw_coverage_e2e.rs:168 reasoning inherits custom:[email protected]\n\nNeither test sets `primary_cloud`, so an unset route now resolves to the\nmanaged backend — the same answer the sibling `memory` assertion already\ngives in the first of the two. Both updated to assert that, with a comment\nnaming #6109 so the next reader does not read the old value as intended.\n\nFound by tinysweeper on #6120, which flagged the first of the two; the sweep\nthat found the second was prompted by it.\n
M3gA-Mindceb961e21c36
diff --git a/tests/raw_coverage/inference_agent_raw_coverage_e2e.rs b/tests/raw_coverage/inference_agent_raw_coverage_e2e.rsindex 090ae73537..c0cbaf6045 100644--- a/tests/raw_coverage/inference_agent_raw_coverage_e2e.rs+++ b/tests/raw_coverage/inference_agent_raw_coverage_e2e.rs@@ -1954,9 +1954,13 @@ async fn inference_provider_factory_and_classifiers_cover_user_state_edges() {config.reasoning_provider = None;config.memory_provider = None;assert_eq!(provider_for_role("chat", &config), "mock:[email protected]");+ // #6109: `reasoning` is unset, and an unset route no longer borrows a+ // sibling's BYOK provider. It resolves through `primary_cloud` like every+ // other unset workload — the same answer `memory` gives just below.assert_eq!(provider_for_role("reasoning", &config),- "mock:[email protected]"+ "openhuman",+ "an unset reasoning route must not inherit chat's BYOK provider");assert_eq!(provider_for_role("memory", &config), "openhuman");}diff --git a/tests/raw_coverage/inference_provider_raw_coverage_e2e.rs b/tests/raw_coverage/inference_provider_raw_coverage_e2e.rsindex bd22e53f64..e285f3433f 100644--- a/tests/raw_coverage/inference_provider_raw_coverage_e2e.rs+++ b/tests/raw_coverage/inference_provider_raw_coverage_e2e.rs@@ -165,9 +165,11 @@ async fn provider_factory_and_model_listing_cover_cloud_local_and_invalid_shapesconfig.save().await.expect("save temp config");assert_eq!(provider_for_role("chat", &config), "custom:[email protected]");+ // #6109: an unset route no longer borrows a sibling's BYOK provider; with no+ // `primary_cloud` configured it falls through to the managed backend.assert_eq!(provider_for_role("reasoning", &config),- "custom:[email protected]"+ "openhuman");let (_provider, model) =