diff --git a/src/cli/config-manager.ts b/src/cli/config-manager.ts index dbf01534..29ea1879 100644 --- a/src/cli/config-manager.ts +++ b/src/cli/config-manager.ts @@ -270,7 +270,9 @@ export function generateOmoConfig(installConfig: InstallConfig): Record> = {} if (!installConfig.hasClaude) { - agents["Sisyphus"] = { model: "opencode/glm-4.7-free" } + agents["Sisyphus"] = { + model: installConfig.hasCopilot ? "github-copilot/claude-opus-4.5" : "opencode/glm-4.7-free", + } } agents["librarian"] = { model: "opencode/glm-4.7-free" } @@ -286,9 +288,12 @@ export function generateOmoConfig(installConfig: InstallConfig): Record agent?.model?.startsWith("github-copilot/") + ) + result.hasCopilot = hasAnyCopilotModel + } catch { /* intentionally empty - malformed omo config returns defaults from opencode config detection */ }