dify icon indicating copy to clipboard operation
dify copied to clipboard

Dify Agent Only Shows Function Call Mode Despite Installing React and MCP Modes

Open MakabakaHuba opened this issue 8 months ago • 4 comments

Self Checks

  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

I’ve installed both React mode and MCP mode from the Dify plugin marketplace, but in my Agent settings, only the Function Call mode is available for selection. Why aren’t the other modes showing up? Is there any additional configuration required to enable them?

Image

MakabakaHuba avatar Mar 29 '25 19:03 MakabakaHuba

I found a similar unsolved discussion titled Agent doesn't shows neither Knowledge nor Tools which might be related to your issue [1]. Additionally, there is another discussion on how to change agent mode to react that could provide some insights [2].

Regarding your issue, ensure that you are using Dify version 1.0.0-beta or later, as the Agent node is not available in earlier versions [3]. If you are already on the correct version, you might want to check the "Agent Settings" section in the Dify documentation, which provides details on configuring agent modes, including selecting inference models and adding necessary tools [4][5].

If the modes are still not visible, there might be additional configuration steps required that are not documented. Unfortunately, I couldn't find specific prerequisites or configuration files that control the availability of agent modes.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

dosubot[bot] avatar Mar 29 '25 19:03 dosubot[bot]

What is installed on the marketplace are strategies that can be used in Agent nodes within Workflow/Chatflow, not strategies in the Agent application. You can add an Agent node in Workflow/Chatflow to use them.

Nov1c444 avatar Apr 01 '25 01:04 Nov1c444

Thank you!

Do you know how to use react strategy in Agent(not in chatflow or workflow)? Or can only use function call strategy in Agent?

MakabakaHuba avatar Apr 01 '25 12:04 MakabakaHuba

If it's in the Agent App, Agent Mode is automatically selected. If the model supports Tool-call, then function call will be used by default. If the model doesn't support function call, then ReAct will be automatically selected

Nov1c444 avatar Apr 02 '25 01:04 Nov1c444

oh, really appreciate your reply. thank you!

MakabakaHuba avatar Apr 02 '25 02:04 MakabakaHuba

I am curious about why the agent app is designed this way? Can it be configured like the agent node? It would also make more sense if a workflow could reference an existing agent app as a node, similar to how an agent app can reference a workflow as a tool.

KennanChan avatar Jul 31 '25 08:07 KennanChan