- 移除Jinja2列表推导式(可能有兼容性问题) - 改用inline if过滤,更安全可靠 - 添加|string确保类型安全的比较 - 处理description为None的情况(llm.description or '')