feat: adapt to Pydantic V2

This commit is contained in:
Attente
2025-11-01 17:56:37 +08:00
parent fcd0908032
commit c7f098771b
10 changed files with 12 additions and 13 deletions

View File

@@ -367,7 +367,6 @@ class TemplateHelper(metaclass=SingletonClass):
return rendered
return None
except Exception as e:
logger.error(f"模板处理失败: {str(e)}")
raise ValueError(f"模板处理失败: {str(e)}") from e
@staticmethod