diff --git a/llama-index-core/llama_index/core/chat_engine/context.py b/llama-index-core/llama_index/core/chat_engine/context.py index 0c7a24e41f17b..091e045ee5f7c 100644 --- a/llama-index-core/llama_index/core/chat_engine/context.py +++ b/llama-index-core/llama_index/core/chat_engine/context.py @@ -69,6 +69,7 @@ def from_defaults( prefix_messages: Optional[List[ChatMessage]] = None, node_postprocessors: Optional[List[BaseNodePostprocessor]] = None, context_template: Optional[str] = None, + llm: Optional[LLM] = None, **kwargs: Any, ) -> "ContextChatEngine": """Initialize a ContextChatEngine from default parameters."""