feat: enhance role-tier structure for models and update related configurations

This commit is contained in:
Lauren ten Hoor
2026-02-11 01:18:13 +08:00
parent f2e71a35d8
commit b249217bc1
5 changed files with 94 additions and 22 deletions

View File

@@ -130,7 +130,7 @@ export async function dispatchTask(
transitionLabel, pluginConfig,
} = opts;
const model = resolveTierToModel(tier, pluginConfig);
const model = resolveTierToModel(tier, pluginConfig, role);
const worker = getWorker(project, role);
const existingSessionKey = getSessionForTier(worker, tier);
const sessionAction = existingSessionKey ? "send" : "spawn";