Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(inference): drop agent_chat schema test and retarget parity check

Steven Enamakeld310ad17187a
diff --git a/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rs b/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rs
index 85a1944365..cabe3adf3c 100644
--- a/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rs
+++ b/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rs
@@ -8,7 +8,7 @@ fn runtime_schema_catalog_matches_registered_controllers() {
assert_schema_controller_parity(
&all_controller_schemas(),
&all_registered_controllers(),
- "agent_chat",
+ "transcribe",
);
}
@@ -61,20 +61,6 @@ fn deserialize_params_errors_on_invalid_shape() {
assert!(err.contains("invalid params"));
}
-/// `agent_id` is a declared, optional input of `inference.agent_chat` — the
-/// embed crate pins its `TurnRequest` field names against this schema, so a
-/// param the controller accepts but never declares would be unreachable.
-#[test]
-fn agent_chat_declares_an_optional_agent_id() {
- let schema = schemas("agent_chat");
- let field = schema
- .inputs
- .iter()
- .find(|f| f.name == "agent_id")
- .expect("agent_chat declares agent_id");
- assert!(!field.required, "agent_id must stay optional");
-}
-
#[test]
fn registered_controllers_all_in_inference_namespace() {
for h in all_registered_controllers() {