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

[Bug] Prompt formatting formats prompt editing #189

Closed
cratom4 opened this issue Jun 30, 2023 · 2 comments
Closed

[Bug] Prompt formatting formats prompt editing #189

cratom4 opened this issue Jun 30, 2023 · 2 comments
Labels
🐛 Bug Something isn't working | 缺陷 Inactive

Comments

@cratom4
Copy link

cratom4 commented Jun 30, 2023

💻 系统环境 | Operating System

Windows

🌐 浏览器 | Browser

Edge

🐛 问题描述 | Bug Description

Prompt editing which uses square brackets is affected by prompt formatting.
For example, [girl:boy:0.5] turns out (girl:boy:0.2:0.9524) after format.
It also affects LoRA with square brackets in its name.

🚦 期望结果 | Expected Behavior

When formatting, ignore square brackets with following condition.

  1. When letters such as ":" and "|" exist inside square brackets
  2. When square brackets are inside lora tag

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

No response

@cratom4 cratom4 added the 🐛 Bug Something isn't working | 缺陷 label Jun 30, 2023
@github-actions
Copy link

Since the issue was labeled with Inactive, and no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.

由于该 issue 被标记为 Inactive,同时 30 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2023
@theblacktiger59
Copy link

This is still an issue, I use prompt formating often and I can't use Lobe UI because of this issue. Any chance it can be looked into?

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

No branches or pull requests

2 participants