# AI 机器人“Retry”在公开主题（非私信）中生成重复回复而非重新生成

**URL:** <https://meta.discourse.org/t/ai-bot-retry-creates-a-duplicate-reply-instead-of-regenerating-in-public-non-pm-topics/407562>\
**Category:** Bug\
**Tags:** ai, ai-bot\
**Created:** [2026年七月14日 11:20 UTC](https://meta.discourse.org/t/ai-bot-retry-creates-a-duplicate-reply-instead-of-regenerating-in-public-non-pm-topics/407562 "2026-07-14T11:20:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2026年七月14日 22:09 UTC](https://meta.discourse.org/t/ai-bot-retry-creates-a-duplicate-reply-instead-of-regenerating-in-public-non-pm-topics/407562/4 "2026-07-14T22:09:55Z")

</div>

感谢报告，这应该能解决这个问题

> <https://github.com/discourse/discourse/pull/41715>
>
> Previously, clicking retry on an AI bot reply in a public (non-PM) topic appende…d a brand-new bot post, because \`Playground#reply\_to\` only honored \`existing\_reply\_post\` in the streaming path used by PMs.
> 
> This change revises the existing reply in place in the non-streaming path as well, keeping an edit revision so the previous answer remains visible in the post history, and refreshes the post's LLM/agent custom fields on retry.
> 
> Reported at https://meta.discourse.org/t/407562

---

_[View the full topic](https://meta.discourse.org/t/ai-bot-retry-creates-a-duplicate-reply-instead-of-regenerating-in-public-non-pm-topics/407562)._
