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
|
#!/usr/bin/env bun
|
||||||
|
import chalk from "chalk";
|
||||||
import { Command } from "commander";
|
import { Command } from "commander";
|
||||||
import pkg from "../package.json";
|
import pkg from "../package.json";
|
||||||
import { cleanupMultiModel } from "./core/cleanup";
|
import { cleanupMultiModel } from "./core/cleanup";
|
||||||
import { closeMultiModel } from "./core/close";
|
import { closeMultiModel } from "./core/close";
|
||||||
import { openMultiModel } from "./core/open";
|
import { openMultiModel } from "./core/open";
|
||||||
import { getBinaryName, loadSettings, promptUser } from "./core/utils";
|
import { getBinaryName, loadSettings, promptUser } from "./core/utils";
|
||||||
import chalk from "chalk";
|
|
||||||
|
|
||||||
const program = new Command();
|
const program = new Command();
|
||||||
|
|
||||||
@@ -46,7 +46,10 @@ program
|
|||||||
const answer = await promptUser(
|
const answer = await promptUser(
|
||||||
`Continue with last used models?\n${modelList}\n(Y/n): `,
|
`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;
|
models = settings.lastModels;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user