专题
AI
记录此分类下的每一次思考与沉淀
12
篇文章
12
累计收录
专题归档
文章列表
Dify去除思考过程回显
import re ## 去掉 details 标签内容 def main(text: str) -> dict: result = re.sub(r'<details.*?>.*?</details>', '', text, flags=re.DOTALL) return {