Skip to content

[Bug] 自定义 T2I 模板未同步到所有配置文件 #6748

@v7qx

Description

@v7qx

What happened / 发生了什么

在系统设置中应用新的 T2I 模板后,该变更不会同步到所有配置文件。
结果是不同配置文件仍可能使用不同的渲染模板,而不是统一使用系统设置中的模板。

Reproduce / 如何复现?

  1. 在“普通配置”中创建两个配置文件,例如 default 和 a,并确保两者都启用了文本转图片。
  2. 开启远程渲染策略。
  3. 在“自定义 T2I 模板”中新增一个模板并点击应用。
  4. 分别使用 default 和 a 进行渲染测试。

预期行为
所有配置文件都应同步使用系统设置中的最新 T2I 模板。

实际行为
只有默认配置文件更新为新模板,其他配置文件仍使用旧模板。

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

AstrBot 版本:v4.20.1
操作系统:Docker

OS

Linux

Logs / 报错日志

配置同步问题,无渲染报错

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 working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions