mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-27 12:29:41 +02:00
Log LLM details on server start (#773)
This commit is contained in:
@@ -42,7 +42,7 @@ class LangChainChatLLM(LLM, abc.ABC):
|
|||||||
logger.debug(f"Prompt:\n{prompt}")
|
logger.debug(f"Prompt:\n{prompt}")
|
||||||
|
|
||||||
def log_model_configs(self) -> None:
|
def log_model_configs(self) -> None:
|
||||||
logger.debug(
|
logger.info(
|
||||||
f"LLM Model Class: {self.llm.__class__.__name__}, Model Config: {self.llm.__dict__}"
|
f"LLM Model Class: {self.llm.__class__.__name__}, Model Config: {self.llm.__dict__}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user