Skip to content

Commit 084a8bb

Browse files
committed
fix: fix tag
1 parent b7a08df commit 084a8bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function main() {
2626
model: modelName,
2727
tag: tagName,
2828
} = logseq.settings as unknown as ISettings;
29-
const tag = ` #${tagName}`;
29+
const tag = tagName ? ` #${tagName}` : '';
3030

3131
const prompts = getPrompts();
3232
const model = new OpenAI(

0 commit comments

Comments
 (0)