This commit is contained in:
sliverp
2026-01-29 12:03:48 +08:00
parent ee8beee4c1
commit b58146d9b8
3 changed files with 15 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ export interface ResolvedQQBotAccount {
appId: string;
clientSecret: string;
secretSource: "config" | "file" | "env" | "none";
/** 系统提示词 */
systemPrompt?: string;
config: QQBotAccountConfig;
}
@@ -31,6 +33,8 @@ export interface QQBotAccountConfig {
clientSecretFile?: string;
dmPolicy?: "open" | "pairing" | "allowlist";
allowFrom?: string[];
/** 系统提示词,会添加在用户消息前面 */
systemPrompt?: string;
}
/**