📖
history
asterbot
v1.0.0
Public
Interface
Exports
asterbot:types/history@1.1.0
load()
save(messages: list<chat-message>)
clear()
get-context()
should-compact(message-count: u32)
compact(messages: list<chat-message>)
Imports
asterai:fs/fs@1.0.0
asterai:llm/llm@1.1.0
wasi:io/error@0.2.6
wasi:io/streams@0.2.6
wasi:cli/environment@0.2.6
wasi:cli/exit@0.2.6
wasi:cli/stderr@0.2.6