feat(routing): honor models.for via metadata modelFor

This commit is contained in:
William Valentin
2026-02-17 10:38:56 -08:00
parent 2007c0c060
commit d67cfa64a6
3 changed files with 121 additions and 8 deletions
+12
View File
@@ -3660,6 +3660,18 @@
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/channels/line/adapter.test.ts src/channels/zalo/adapter.test.ts + pnpm typecheck passing"
},
"model-for-tier-routing-consumption": {
"status": "completed",
"date": "2026-02-17",
"updated": "2026-02-17",
"summary": "Implemented runtime consumption of `models.*.for` via `metadata.modelFor` tier selection in channel routing (including audio capability resolution path), and added routing precedence/behavior regression coverage.",
"files_modified": [
"src/daemon/routing.ts",
"src/daemon/routing.test.ts",
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/daemon/routing.test.ts + pnpm typecheck passing"
}
},
"overall_progress": {