Skip to content

[Bug] 设置了人格系统提示词,但是不生效 #7741

@pentatracy5

Description

@pentatracy5

What happened / 发生了什么

我将人格的系统提示词设置为:你的名字叫做“小黑”。然后将人格赋予给机器人,之后在KOOK上与机器人私聊,问ta“你叫什么”,ta一直回复自己叫做豆包。
人格似乎不生效。

Reproduce / 如何复现?

  1. AstrBot WebUI 中创建人格“小黑”,设置系统提示词:你的名字叫做“小黑”。
  2. AstrBot WebUI 中创建配置文件“小黑”,设置人格为“小黑”,设置对话模型为openai/doubao-seed-2-0-pro-260215
  3. KOOK创建机器人“小黑”,并接入AstrBot,选择配置“小黑”
  4. 在KOOK中与机器人“小黑”私信,问ta“你叫什么”

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

AstrBot 版本:v4.23.2
部署方式:Windows Docker Desktop
使用的提供商:火山引擎
使用的消息平台适配器:KOOK

OS

Windows

Logs / 报错日志

[2026-04-23 07:35:32.903] [Core] [INFO] [core.event_bus:61]: [default] [kook(kook)] lupuer/1968829583: 你叫什么
[2026-04-23 07:35:38.446] [Core] [INFO] [respond.stage:183]: Prepare to send - lupuer/1968829583: 我叫豆包哦,是字节跳动开发的人工智能助手,不管你是想咨询问题、唠家常还是需要帮忙处理事务,我都可以尽力协助你呀~

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreThe bug / feature is about astrbot's core, backendbugSomething isn't workingfeature:personaThe bug / feature is about astrbot AI persona system (system prompt)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions