mirror of
https://github.com/bendtherules/opencode-multi-model.git
synced 2026-08-18 13:42:21 +00:00
style: lint fix
This commit is contained in:
+5
-2
@@ -1,11 +1,11 @@
|
||||
#!/usr/bin/env bun
|
||||
import chalk from "chalk";
|
||||
import { Command } from "commander";
|
||||
import pkg from "../package.json";
|
||||
import { cleanupMultiModel } from "./core/cleanup";
|
||||
import { closeMultiModel } from "./core/close";
|
||||
import { openMultiModel } from "./core/open";
|
||||
import { getBinaryName, loadSettings, promptUser } from "./core/utils";
|
||||
import chalk from "chalk";
|
||||
|
||||
const program = new Command();
|
||||
|
||||
@@ -46,7 +46,10 @@ program
|
||||
const answer = await promptUser(
|
||||
`Continue with last used models?\n${modelList}\n(Y/n): `,
|
||||
);
|
||||
if (answer.toLowerCase() === "y" || answer.toLowerCase() === "yes") {
|
||||
if (
|
||||
answer.toLowerCase() === "y" ||
|
||||
answer.toLowerCase() === "yes"
|
||||
) {
|
||||
models = settings.lastModels;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user