MCPcopy Index your code
hub / github.com/continuedev/continue / getPersistedModelName

Function getPersistedModelName

extensions/cli/src/util/modelPersistence.ts:7–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5 * Used for unauthenticated users
6 */
7export function getPersistedModelName(): string | null {
8 const globalContext = new GlobalContext();
9 return globalContext.get("cliSelectedModel") ?? null;
10}
11
12/**
13 * Persist the model name for CLI to GlobalContext

Calls 1

getMethod · 0.95

Tested by

no test coverage detected