Method
appendUser
(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
Tested by
no test coverage detected