diff --git a/metagpt/rag/llm.py b/metagpt/rag/llm.py index 81ac4e1b7..fdcd1904f 100644 --- a/metagpt/rag/llm.py +++ b/metagpt/rag/llm.py @@ -43,6 +43,6 @@ class RAGLLM(CustomLLM): ... -def get_rag_llm(model_infer: BaseLLM = None): +def get_rag_llm(model_infer: BaseLLM = None) -> RAGLLM: """Get llm that can be used by LlamaIndex.""" return RAGLLM(model_infer=model_infer or LLM())