MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / appendUser

Method appendUser

src/core/session.ts:215–221  ·  view source on GitHub ↗
(content: string | ContentBlock[], provider: SessionEntry['provider'] = 'human')

Source from the content-addressed store, hash-verified

213 }
214
215 async appendUser(content: string | ContentBlock[], provider: SessionEntry['provider'] = 'human'): Promise<SessionEntry> {
216 return this.append({
217 type: 'user',
218 message: { role: 'user', content },
219 provider,
220 })
221 }
222
223 async appendAssistant(
224 content: string | ContentBlock[],

Callers

nothing calls this directly

Calls 1

appendMethod · 0.95

Tested by

no test coverage detected