refactor: brain memory

This commit is contained in:
莘权 马 2023-09-08 13:03:05 +08:00
parent 5f3931820e
commit 5903b3efbc

View file

@ -41,4 +41,4 @@ class LLMFactory:
if CONFIG.LLM_TYPE == LLMType.CLAUDE.value:
return Claude()
raise openai.InvalidRequestError(message=f"Unsupported LLM TYPE: {CONFIG.LLM_TYPE}")
raise openai.InvalidRequestError(message=f"Unsupported LLM TYPE: {CONFIG.LLM_TYPE}", param=None)