Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The dialog window code block is malformed #531

Closed
6 of 7 tasks
bincooo opened this issue Nov 29, 2023 · 8 comments
Closed
6 of 7 tasks

The dialog window code block is malformed #531

bincooo opened this issue Nov 29, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@bincooo
Copy link
Contributor

bincooo commented Nov 29, 2023

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及项目文档
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本

  • 公有云版本
  • 私有部署版本

问题描述
RT
在聊天页上的显示
Screenshot 2023-11-29 at 21 39 51

在 ChatGPT-Next-Web上的显示
Screenshot 2023-11-29 at 21 38 56

复现步骤

预期结果

相关截图

@bincooo bincooo added the bug Something isn't working label Nov 29, 2023
@c121914yu c121914yu changed the title 对话窗口代码块格式错乱 The dialog window code block is malformed Nov 29, 2023
@c121914yu
Copy link
Collaborator

你返回的似乎并不是 ``` 三个点,而是一个 `

@c121914yu
Copy link
Collaborator

返回你的似乎不是“三点”,而是一个“

在markdown中,单个与三个是有本质区别的。

@bincooo
Copy link
Contributor Author

bincooo commented Dec 3, 2023

在接口中检查了一下,是```:
Screenshot 2023-12-03 at 20 11 43

@bincooo
Copy link
Contributor Author

bincooo commented Dec 3, 2023

会是xml的箭括号影响的吗

@c121914yu
Copy link
Collaborator

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is it affected by the arrow brackets in xml?

@c121914yu
Copy link
Collaborator

会是xml的箭括号影响的吗

可以复制下内容么?我待会本地调试下。

@bincooo
Copy link
Contributor Author

bincooo commented Dec 5, 2023

好的,报文如下:
index.txt

@c121914yu c121914yu mentioned this issue Dec 8, 2023
@c121914yu
Copy link
Collaborator

嗯呢,之前如果没有匹配到语言会不生成代码块。这里会修复:#585

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants