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

Method updateSharedConfig

core/util/GlobalContext.ts:161–168  ·  view source on GitHub ↗
(
    newValues: Partial<SharedConfigSchema>,
  )

Source from the content-addressed store, hash-verified

159 }
160
161 updateSharedConfig(
162 newValues: Partial<SharedConfigSchema>,
163 ): SharedConfigSchema {
164 const currentSharedConfig = this.getSharedConfig();
165 const updatedSharedConfig = { ...currentSharedConfig, ...newValues };
166 this.update("sharedConfig", updatedSharedConfig);
167 return updatedSharedConfig;
168 }
169
170 updateSelectedModel(
171 profileId: string,

Callers 2

migrateJsonSharedConfigFunction · 0.80

Calls 2

getSharedConfigMethod · 0.95
updateMethod · 0.95

Tested by

no test coverage detected