Merge pull request #50 from sliverp/feature/fix

Feature/fix
This commit is contained in:
Bijin
2026-02-06 16:24:13 +08:00
committed by GitHub
4 changed files with 6 additions and 5 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@sliverp/qqbot",
"version": "1.3.13",
"version": "1.4.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@sliverp/qqbot",
"version": "1.3.13",
"version": "1.4.1",
"bundleDependencies": [
"ws"
],

View File

@@ -1,6 +1,6 @@
{
"name": "@sliverp/qqbot",
"version": "1.3.14",
"version": "1.4.1",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -76,7 +76,7 @@ export function resolveQQBotAccount(
allowFrom: qqbot?.allowFrom,
systemPrompt: qqbot?.systemPrompt,
imageServerBaseUrl: qqbot?.imageServerBaseUrl,
markdownSupport: qqbot?.markdownSupport,
markdownSupport: qqbot?.markdownSupport ?? true,
};
appId = qqbot?.appId ?? "";
} else {

View File

@@ -499,7 +499,8 @@ openclaw cron add \\
⚠️ 注意:
- 必须使用 <qqimg>路径</qqimg> 格式
- 本地路径必须是绝对路径,支持 png、jpg、jpeg、gif、webp 格式
- 图片文件/URL 必须有效,否则发送失败`;
- 图片文件/URL 必须有效,否则发送失败
- Markdown格式下也必须使用该方式发送图片`;
const systemPrompts = [builtinPrompt];
if (account.systemPrompt) {