Skip to content

Commit 9ca8643

Browse files
authored
Update LLmAgent History API (#146)
* Add persistent history API * Add ephemeral API for history management * Formatting * PR nits * Moar PR nits * Validate #process args
1 parent f66a72e commit 9ca8643

File tree

5 files changed

+2111
-1248
lines changed

5 files changed

+2111
-1248
lines changed

line/llm_agent/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
# Configuration
1111
from line.llm_agent.config import FALLBACK_INTRODUCTION, FALLBACK_SYSTEM_PROMPT, LlmConfig
1212

13+
# History
14+
from line.llm_agent.history import History
15+
1316
# LLM Agent
1417
from line.llm_agent.llm_agent import LlmAgent
1518

@@ -31,6 +34,8 @@
3134
)
3235

3336
__all__ = [
37+
# History
38+
"History",
3439
# LLM Agent
3540
"LlmAgent",
3641
# Configuration

0 commit comments

Comments
 (0)