fix wrong type

This commit is contained in:
Yannick Stephan
2025-02-15 22:23:16 +01:00
parent 621540a54e
commit 49ce229af7

View File

@@ -69,7 +69,7 @@ class QueryParam:
ll_keywords: list[str] = field(default_factory=list) ll_keywords: list[str] = field(default_factory=list)
"""List of low-level keywords to refine retrieval focus.""" """List of low-level keywords to refine retrieval focus."""
conversation_history: list[dict[str, Any]] = field(default_factory=list) conversation_history: list[dict[str, str]] = field(default_factory=list)
"""Stores past conversation history to maintain context. """Stores past conversation history to maintain context.
Format: [{"role": "user/assistant", "content": "message"}]. Format: [{"role": "user/assistant", "content": "message"}].
""" """