MCPcopy Create free account
hub / github.com/leaningtech/webvm / initialize

Function initialize

src/lib/anthropic.js:493–498  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

491}
492
493function initialize()
494{
495 var savedApiKey = localStorage.getItem("anthropic-api-key");
496 if(savedApiKey)
497 setApiKey(savedApiKey);
498}
499
500export const apiState = writable("KEY_REQUIRED");
501export const messageList = writable(messages);

Callers 1

anthropic.jsFile · 0.85

Calls 1

setApiKeyFunction · 0.85

Tested by

no test coverage detected