From f84be33d5c2d32995d61d5841cb50757582feaf4 Mon Sep 17 00:00:00 2001 From: Yannick Stephan Date: Sun, 9 Feb 2025 15:54:15 +0100 Subject: [PATCH] cleaned code --- lightrag/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/base.py b/lightrag/base.py index 0a98c2d5..7a3b4f5f 100644 --- a/lightrag/base.py +++ b/lightrag/base.py @@ -43,7 +43,7 @@ class QueryParam: hl_keywords: list[str] = field(default_factory=list) ll_keywords: list[str] = field(default_factory=list) # Conversation history support - conversation_history: list[dict] = field( + conversation_history: list[dict[str, str]] = field( default_factory=list ) # Format: [{"role": "user/assistant", "content": "message"}] history_turns: int = (