浏览代码

Fix: let quot stay. (#6377)

### What problem does this PR solve?

#6337

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.18.0
Kevin Hu 7 个月前
父节点
当前提交
b754bd523a
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      agent/component/template.py

+ 1
- 1
agent/component/template.py 查看文件

@@ -117,7 +117,7 @@ class Template(ComponentBase):
r"\{%s\}" % re.escape(n), v, content
)
content = re.sub(
r"(\\\"|\")", "", content
r"(\\\")", "", content
)
content = re.sub(
r"(#+)", r" \1 ", content

正在加载...
取消
保存