Skip to content

Commit 4b4583e

Browse files
committed
fix: remove extra symbols from translation results
1 parent 34beaf8 commit 4b4583e

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ body:
6868
attributes:
6969
label: Bob version
7070
description: |
71-
请提供您正在使用的 Bob 版本。Please provide the version of the Bob you are using. For example, `Bob 1.6.0 [103]`.
71+
请提供您正在使用的 Bob 版本。
72+
73+
Please provide the version of the Bob you are using. For example, `Bob 1.6.0 [103]`.
7274
validations:
7375
required: true
7476
- type: textarea

.github/ISSUE_TEMPLATE/config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/ISSUE_TEMPLATE/feature.yml

+8-14
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
name: Feature
2-
description: Add new feature, improve code, and more
1+
name: "Feature"
2+
description: "Add new feature, improve code, and more"
33
labels: [ "enhancement" ]
44
body:
55
- type: markdown
66
attributes:
77
value: |
8-
**非常感谢您的功能建议!**
9-
**Thank you very much for your feature proposal!**
8+
**非常感谢您的功能建议!Thank you very much for your feature proposal!**
109
1110
- type: checkboxes
1211
attributes:
@@ -16,10 +15,8 @@ body:
1615
1716
Please search [issues](https://github.com/yetone/openai-translator/issues) to check if your issue has already been reported.
1817
options:
19-
- label: |
20-
在 [issues](https://github.com/yetone/openai-translator/issues) 中没有找到类似的内容。
21-
22-
I searched in the [issues](https://github.com/yetone/openai-translator/issues) and found nothing similar.
18+
- label: >
19+
在 [issues](https://github.com/yetone/openai-translator/issues) 中没有找到类似的内容。I searched in the [issues](https://github.com/yetone/openai-translator/issues) and found nothing similar.
2320
required: true
2421
- type: input
2522
attributes:
@@ -43,9 +40,9 @@ body:
4340
attributes:
4441
label: Solution
4542
description: |
46-
描述建议的解决方案。
43+
描述建议的解决方案。
4744
48-
Describe the proposed solution. (if you have any additional information, please add it here.)
45+
Describe the proposed solution. (if you have any additional information, please add it here.)
4946
- type: textarea
5047
attributes:
5148
label: 还有其他内容吗?Anything else?
@@ -60,8 +57,5 @@ body:
6057
- label: 我愿意提供 PR! I'm willing to submit a PR!
6158
- type: markdown
6259
attributes:
63-
value: |
64-
"非常感谢您的功能建议!"
65-
66-
"Thank you very much for your feature proposal!"
60+
value: "非常感谢您的功能建议!Thank you very much for your feature proposal!"
6761

src/main.js

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ function generatePrompts(query) {
7373
"""
7474
${query.text}
7575
"""
76+
Result:\n
7677
`
7778

7879
return { systemPrompt, userPrompt };

0 commit comments

Comments
 (0)