In the Agent, select the React mode, and the stop word is Observation. If a model with thinking outputs include Observation when it outputs its thought content, the output will be terminated, resulting in an inability to respond to data normally #15441

Closed
opened 2026-02-21 19:21:45 -05:00 by yindo · 3 comments
Owner

Originally created by @wushengtzy on GitHub (Jul 16, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

v1.6.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

In the Agent, select the React mode, and the stop word is Observation. If a model with thinking outputs include Observation when it outputs its thought content, the output will be terminated, resulting in an inability to respond to data normally

Image Image

✔️ Expected Behavior

normal output

Actual Behavior

No response

Originally created by @wushengtzy on GitHub (Jul 16, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version v1.6.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce In the Agent, select the React mode, and the stop word is Observation. If a model with thinking outputs include Observation when it outputs its thought content, the output will be terminated, resulting in an inability to respond to data normally <img width="1908" height="872" alt="Image" src="https://github.com/user-attachments/assets/d2b158b5-f2b1-4e63-94a8-36d2687bedba" /> <img width="1167" height="658" alt="Image" src="https://github.com/user-attachments/assets/06fea1f4-5c68-4873-8302-b607a6d5af1e" /> ### ✔️ Expected Behavior normal output ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-21 19:21:45 -05:00
Author
Owner

@crazywoola commented on GitHub (Jul 16, 2025):

In the Agent, select the React mode, and the stop word is Observation. If a model with thinking outputs include Observation when it outputs its thought content, the output will be terminated, resulting in an inability to respond to data normally

That's why it is called "stop word".

@crazywoola commented on GitHub (Jul 16, 2025): > In the Agent, select the React mode, and the stop word is Observation. If a model with thinking outputs include Observation when it outputs its thought content, the output will be terminated, resulting in an inability to respond to data normally That's why it is called "stop word".
Author
Owner

@wushengtzy commented on GitHub (Jul 16, 2025):

In the Agent, select the React mode, and the stop word is Observation. If a model with thinking outputs include Observation when it outputs its thought content, the output will be terminated, resulting in an inability to respond to data normally

That's why it is called "stop word".

I can understand stopwords, but they should not affect the normal response of the function. According to the current processing strategy, the output content is a truncated thought process, which users may perceive as an output anomaly.

@wushengtzy commented on GitHub (Jul 16, 2025): > > In the Agent, select the React mode, and the stop word is Observation. If a model with thinking outputs include Observation when it outputs its thought content, the output will be terminated, resulting in an inability to respond to data normally > > That's why it is called "stop word". I can understand stopwords, but they should not affect the normal response of the function. According to the current processing strategy, the output content is a truncated thought process, which users may perceive as an output anomaly.
Author
Owner

@XiaozanZhang commented on GitHub (Jul 16, 2025):

I encountered the same problem

@XiaozanZhang commented on GitHub (Jul 16, 2025): I encountered the same problem
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#15441