Log LLM details on server start (#773)

This commit is contained in:
Yuhong Sun 2023-11-27 21:32:48 -08:00 committed by GitHub
parent 05c2b7d34e
commit 87beb1f4d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ class LangChainChatLLM(LLM, abc.ABC):
logger.debug(f"Prompt:\n{prompt}")
def log_model_configs(self) -> None:
logger.debug(
logger.info(
f"LLM Model Class: {self.llm.__class__.__name__}, Model Config: {self.llm.__dict__}"
)