mirror of
https://github.com/bendtherules/opencode-multi-model.git
synced 2026-08-18 13:42:21 +00:00
build: remember last models
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
/**
|
||||
* Settings stored in ~/.config/opencode-multi-model/settings.json
|
||||
*/
|
||||
export interface MultiModelSettings {
|
||||
lastModels: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Options for launching a multi-model tmux session.
|
||||
*/
|
||||
@@ -10,6 +17,8 @@ export interface MultiModelOptions {
|
||||
binaryName?: string;
|
||||
/** Caller context: 'cli' shows shell commands, 'tool' shows tool instructions. */
|
||||
mode: "cli" | "tool";
|
||||
/** Save models to settings file on successful launch (CLI only). */
|
||||
saveToSettings?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user