mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
The agent app use functioncall mode when i use groq's api,can't use tool #483
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jndxhuxiehang on GitHub (Jul 25, 2025).
Self Checks
Dify version
1.7.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
in agent app,use groq's k2 model,tool call works well in ReAct mode
❌ Actual Behavior
when i choose the groq's k2 model,the agent app's agent mode change to functioncalling(not react),it cause that tools not been used,the same ,but in workflow with an agent node it works well. so i think it may be a bug?it should match the ""ReAct“ rather then“function calling”
@crazywoola commented on GitHub (Jul 25, 2025):
https://github.com/langgenius/dify-official-plugins/blob/23b53c78b307a057024fb2bbeff25debd84bf4da/models/moonshot/models/llm/kimi-k2-0711-preview.yaml#L6-L10
https://github.com/langgenius/dify-official-plugins/blob/431162ec3c63583c6ed04eba6668171edcec1626/models/siliconflow/models/llm/kimi-k2-instruct.yaml#L6-L7
https://github.com/langgenius/dify-official-plugins/blob/cefda56fbdd3871ee8884595bdb44688e1fab2b6/models/groq/models/llm/moonshotai-kimi-k2-instruct.yaml#L8-L12
See the attached files.
From the picture, I think this is because you are using Siliconflow not Groq.
Suggestion
@jndxhuxiehang commented on GitHub (Jul 25, 2025):
sorry,I give the wrong picture,in the wrong pic,i change the model to Siliconflow after i talk with qorq's api,now i show more pictures

@dosubot[bot] commented on GitHub (Aug 20, 2025):
Hi, @jndxhuxiehang. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thanks for your understanding and contribution!