export function hasExplicitModelFlag(args: readonly string[]): boolean { for (const arg of args) { if (arg === "--") return false; if (arg === "--model" || arg.startsWith("--model=")) return true; } return false; }