MCPcopy
hub / github.com/leaningtech/webvm / clearApiKey

Function clearApiKey

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

Source from the content-addressed store, hash-verified

24}
25
26function clearApiKey()
27{
28 localStorage.removeItem("anthropic-api-key");
29 apiState.set("KEY_REQUIRED");
30}
31
32function addMessageInternal(role, content)
33{

Callers 1

sendMessagesFunction · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected