[Bug] 现实世界时间感知文案需要更新
Maintainers usually reply within 1 day
Nobody has claimed this yet.
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
- Domain
- documentation, frontend
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 的说明文字已经是“在用户提示词中带上当前的时间信息。”,建议把设置名称也同步调整得更明确。
如何复现?
- 打开 WebUI 的配置页面。
- 进入 AI → 消息处理。
- 查看“现实世界时间感知”设置项。
预期文案
建议:
- 名称:附带当前时间信息
- 说明:启用后,会在用户提示词中附带当前日期、时间、时区和星期,供模型参考。
这里建议调整界面文案,功能行为无需改变。
核对依据
已核对提交 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
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AstrBotDevs/AstrBot
-
[Bug] OpenAI-compatible Gemini 工具 schema const 导致 400Possibly taken @arccat-114 claimed this 2 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
AstrBotDevs/AstrBot#10720 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug] Discord slash command sync aborts with KeyError when a plugin handler is defined in a submodulePossibly taken @yuexia5 claimed this 7 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
AstrBotDevs/AstrBot#10626 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug] QQ频道消息无法回复:markdown 回退顺序有误,误用主动消息导致 304049 限频Possibly taken @he-yufeng claimed this 19 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
AstrBotDevs/AstrBot#10420 · 4 comments ·
Maintainers usually reply within 1 day
-
[Feature] 移除「切换到旧版知识库」入口Possibly taken @lingyun14beta claimed this 15 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AstrBotDevs/AstrBot#10340 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AstrBotDevs/AstrBot#10322 · 1 comment ·
Maintainers usually reply within 1 day
All issues in AstrBotDevs/AstrBot
Similar issues
-
[oblt-aw][autodoc] Update docs for security org scaffolding and Docs AI menu permission changesPossibly taken @github-actions claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
external integration integration-submission
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
langchain-ai/docs#7077 ·
Maintainers usually reply within 1 day
-
author-page correction
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
acl-org/acl-anthology#10623 · 1 comment ·
Maintainers usually reply within 1 day
-
Use context to recognize personal initials and lowercase namesPossibly taken @lipikaramaswamy claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
NVIDIA-NeMo/Anonymizer#340 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
btclib-org/btclib-node#2083 ·
Maintainers usually reply within 1 day