Skip to content

Commit 1ed0ffa

Browse files
committed
fix: template tool
1 parent 3bb2037 commit 1ed0ffa

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "CCEditor",
2+
"name": "cc-editor",
33
"private": true,
4-
"version": "1.0.3",
4+
"version": "1.0.5",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
@@ -15,7 +15,7 @@
1515
"@fluentui/react-components": "^9.47.0",
1616
"@fluentui/react-icons": "^2.0.225",
1717
"@fluentui/react-tag-picker": "^9.0.0",
18-
"@lenml/char-card-reader": "^1.0.5",
18+
"@lenml/char-card-reader": "^1.0.6",
1919
"@lenml/tokenizer-claude": "^3.4.2",
2020
"@monaco-editor/react": "^4.7.0",
2121
"@quik-fe/stand": "^1.1.10",

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tools/TinyTavern.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ export class TinyTavern {
5252
.filter((x) => x.position !== "after_char")
5353
.map((x) => x.content)
5454
.join("\n"),
55-
wiAfter: lores.filter((x) => x.position === "after_char").join("\n"),
55+
wiAfter: lores
56+
.filter((x) => x.position === "after_char")
57+
.map((x) => x.content)
58+
.join("\n"),
5659
});
5760
};
5861
for (const _ of Array.from({ length: 10 })) {

0 commit comments

Comments
 (0)