MCPcopy
hub / github.com/continuedev/continue / persistModelName

Function persistModelName

extensions/cli/src/util/modelPersistence.ts:16–19  ·  view source on GitHub ↗
(modelName: string | null)

Source from the content-addressed store, hash-verified

14 * Used for unauthenticated users
15 */
16export function persistModelName(modelName: string | null): void {
17 const globalContext = new GlobalContext();
18 globalContext.update("cliSelectedModel", modelName ?? undefined);
19}

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected