MCPcopy
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
32function addMessageInternal(role, content)
33{
34 messages.push({role: role, content: content});
35 messageList.set(messages);
36}
37
38async function sendMessages(handleTool)
39{

Callers 2

sendMessagesFunction · 0.85
addMessageFunction · 0.85

Calls 2

pushMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected