refactor: rename launchMultiModel to openMultiModel

This commit is contained in:
2026-03-20 13:38:46 +05:30
parent 962c9a474f
commit 8a087275b3
5 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
export { launchMultiModel } from "./open";
export { openMultiModel } from "./open";
export { closeMultiModel } from "./close";
export * from "./utils";
+2 -2
View File
@@ -24,7 +24,7 @@ import {
*
* @example
* ```ts
* const result = await launchMultiModel({
* const result = await openMultiModel({
* sessionName: "compare",
* models: ["openai/gpt-5.2", "anthropic/claude-3-5-sonnet"],
* binaryName: "opencode",
@@ -34,7 +34,7 @@ import {
* }
* ```
*/
export async function launchMultiModel(options: MultiModelOptions): Promise<MultiModelResult> {
export async function openMultiModel(options: MultiModelOptions): Promise<MultiModelResult> {
const sessionName = options.sessionName.trim();
const safeSessionName = sanitizeName(sessionName);
const models = normalizeModels(options.models);