Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/leaningtech/webvm
/ addMessageInternal
Function
addMessageInternal
src/lib/anthropic.js:32–36 ·
view source on GitHub ↗
(role, content)
Source
from the content-addressed store, hash-verified
30
}
31
32
function
addMessageInternal(role, content)
33
{
34
messages.push({role: role, content: content});
35
messageList.set(messages);
36
}
37
38
async
function
sendMessages(handleTool)
39
{
Callers
2
sendMessages
Function · 0.85
addMessage
Function · 0.85
Calls
2
push
Method · 0.80
set
Method · 0.45
Tested by
no test coverage detected