dify icon indicating copy to clipboard operation
dify copied to clipboard

Enable ReAct Agent Mode for models that do not support function calls

Open zxfishhack opened this issue 11 months ago • 1 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 this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

When adding LLM through OpenAI-API-compatible, if it does not support function call, it cannot be used in Agent. Although Deepseek-reasoner does not support function call, it can be used in the agent through ReAct's Agent Mode.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • [x] I am interested in contributing to this feature.

zxfishhack avatar Feb 06 '25 08:02 zxfishhack

Hi, @zxfishhack. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You suggested enabling ReAct Agent Mode for models without function call support.
  • Specifically mentioned using LLMs through OpenAI-API-compatible interfaces.
  • Highlighted Deepseek-reasoner's lack of function call support but potential use in ReAct's Agent Mode.
  • Expressed willingness to contribute to developing this feature.
  • No further comments or developments have been made on this issue.

Next Steps:

  • Please let us know if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Mar 09 '25 16:03 dosubot[bot]

agent though options has already present in OpenAI-API-compatible model plugin, so please close this.

zxfishhack avatar Mar 11 '25 08:03 zxfishhack

Thank you for closing the issue, zxfishhack! We appreciate your help in keeping the repository organized.

dosubot[bot] avatar Mar 11 '25 08:03 dosubot[bot]