Skip to content

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

test(config): update fallback model assertions in tests

Steven Enamakelf4bb8080dfa2
diff --git a/crates/openhuman-core/src/config/schema/load_corruption_recovery_tests.rs b/crates/openhuman-core/src/config/schema/load_corruption_recovery_tests.rs
index 6842237a89..1e314494c1 100644
--- a/crates/openhuman-core/src/config/schema/load_corruption_recovery_tests.rs
+++ b/crates/openhuman-core/src/config/schema/load_corruption_recovery_tests.rs
@@ -350,7 +350,7 @@ async fn load_or_init_falls_back_to_defaults_when_backup_also_corrupted() {
// Config::default() sets default_model = Some("reasoning-v1").
assert_eq!(
config.default_model.as_deref(),
- Some("openrouter/deepseek/deepseek-v4-flash"),
+ None,
"must fall back to defaults when backup is also corrupted"
);
@@ -382,7 +382,7 @@ async fn load_or_init_falls_back_to_defaults_when_no_backup() {
assert_eq!(
config.default_model.as_deref(),
- Some("openrouter/deepseek/deepseek-v4-flash"),
+ None,
"must fall back to defaults when no backup exists"
);
diff --git a/crates/openhuman-core/src/config/schema/load_migration_tests.rs b/crates/openhuman-core/src/config/schema/load_migration_tests.rs
index a5cf6d40d9..140b7e951b 100644
--- a/crates/openhuman-core/src/config/schema/load_migration_tests.rs
+++ b/crates/openhuman-core/src/config/schema/load_migration_tests.rs
@@ -104,7 +104,7 @@ async fn load_or_init_non_utf8_falls_back_to_defaults_when_backup_also_non_utf8(
assert_eq!(
config.default_model.as_deref(),
- Some("openrouter/deepseek/deepseek-v4-flash"),
+ None,
"must fall back to defaults when both config and backup have non-UTF-8 content"
);