Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug] 现实世界时间感知文案需要更新

Closed Beginner friendly
#10,682 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #10683 by @mantoujun12 — closed without merging
  • #10711 by @rudycelekli — closed without merging

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
json, python

Research direction

Start with dashboard/src/i18n/locales/zh-CN/features/config-metadata.json and find the datetime_system_prompt setting; check the corresponding metadata in other locales as the issue requests. Confirm the wording describes adding current date, time, timezone, and weekday to the user prompt, then verify the setting remains a copy-only change with no behavior change.

Written by the indexing model from the issue text.

Description

问题描述

WebUI 的 AI → 消息处理里,“现实世界时间感知”这个名称有些抽象,建议更新成更直接、贴近实际作用的表述。

目前这项设置的实际行为是:在用户提示词中附带当前日期、时间、时区和星期。单看“现实世界时间感知”,不太容易看出开启后具体会增加什么信息,也容易把它理解成更广泛的时间感知能力。

上游 master 的说明文字已经是“在用户提示词中带上当前的时间信息。”,建议把设置名称也同步调整得更明确。

如何复现?
  1. 打开 WebUI 的配置页面。
  2. 进入 AI → 消息处理。
  3. 查看“现实世界时间感知”设置项。
预期文案

建议:

  • 名称:附带当前时间信息
  • 说明:启用后,会在用户提示词中附带当前日期、时间、时区和星期,供模型参考。

这里建议调整界面文案,功能行为无需改变。

核对依据

已核对提交 issue 时上游 master 的实现:

  • 中文配置文案:datetime_system_prompt 的名称为“现实世界时间感知”。
  • 请求组装逻辑:_append_system_reminders() 将 Current datetime: ..., Weekday: ... 包装在 <system_reminder> 中,追加到 req.extra_user_content_parts(用户消息的附加内容)。

调整时也请核对配置元数据和其他语言的对应文案,避免对时间信息放置位置的描述不一致。

环境与日志

截图未提供具体 AstrBot 版本和部署信息。本 issue 为界面文案反馈,已通过上游源码核对相关行为;没有运行时报错日志。

Dominant language
Python
Stars
43.2k
Forks
3.2k
Avg merge
23h 7m
Merged PRs (30d)
160

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AstrBotDevs/AstrBot

All issues in AstrBotDevs/AstrBot

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.