MCPcopy
hub / github.com/kodu-ai/claude-coder / pullLatestApi

Method pullLatestApi

extension/src/api/api-handler.ts:69–74  ·  view source on GitHub ↗

* pulls the latest API from the secure store and rebuilds the API handler

()

Source from the content-addressed store, hash-verified

67 * pulls the latest API from the secure store and rebuilds the API handler
68 */
69 public async pullLatestApi() {
70 this.log("info", "Pulling latest API configuration")
71 const settings = await getCurrentApiSettings()
72
73 this.api = buildApiHandler(settings)
74 }
75 /**
76 * Updates custom instructions for the API
77 * @param customInstructions - New custom instructions

Callers 2

provider-router.tsFile · 0.80

Calls 3

logMethod · 0.95
getCurrentApiSettingsFunction · 0.90
buildApiHandlerFunction · 0.85

Tested by

no test coverage detected