Interface SessionHistorySource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Optional full-history reader for
GET /agentscope/sessions/{id}/messages.
AgentScope Harness persists an append-only .log.jsonl; BYO apps that use the harness
can plug a source that reads it (including via a distributed AbstractFilesystem). When
absent, the adapter falls back to the live AgentState context buffer.
-
Method Summary
-
Method Details
-
loadMessages
- Parameters:
sessionId- session keyuserId- user slot recorded when the session was first seen; may be empty- Returns:
- full message list (not yet paginated), or empty when no log is available
-