MCPcopy
hub / github.com/coder/mux / getModelKey

Function getModelKey

src/common/constants/storage.ts:202–204  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

200 * Get the localStorage key for the user's preferred model for a workspace
201 */
202export function getModelKey(workspaceId: string): string {
203 return `model:${workspaceId}`;
204}
205
206/**
207 * Get the localStorage key for the input text for a workspace

Calls

no outgoing calls

Tested by 3

startInPlanModeFunction · 0.72
selectModelFunction · 0.72