better:更好的关系处理器

This commit is contained in:
SengokuCola
2025-06-27 00:30:45 +08:00
parent 5f67774f6a
commit a411aa3da4
9 changed files with 199 additions and 375 deletions

View File

@@ -53,7 +53,9 @@ async def generate_with_model(
Tuple[bool, str, str, str]: (是否成功, 生成的内容, 推理过程, 模型名称)
"""
try:
logger.info(f"[LLMAPI] 使用模型生成内容,提示词: {prompt[:200]}...")
model_name = model_config.get("name")
logger.info(f"[LLMAPI] 使用模型 {model_name} 生成内容")
logger.debug(f"[LLMAPI] 完整提示词: {prompt}")
llm_request = LLMRequest(model=model_config, request_type=request_type, **kwargs)