dify icon indicating copy to clipboard operation
dify copied to clipboard

The model from "volcengine" plugin not shows in the model list of Agent block

Open Ca11back opened this issue 11 months ago • 1 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [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.

Dify version

1.0.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

The models from "volcengine" plugin cannot be found in the model list of Agent block which with in a chatflow APP Image But it can be used in the normal Agent APP Image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Ca11back avatar Mar 14 '25 12:03 Ca11back

I found a similar closed issue that might be relevant to your problem. The issue suggested that only models with the agent_thought feature can be listed in the dropdown. It was noted that OpenAI chat models (including Azure) support function calls, and if a model does not support function calls, the planning strategy is adjusted to use ReACT or REACT_ROUTER instead. Ensuring the model supports the agent_thought feature or adjusting the planning strategy might resolve the issue [1].

Additionally, to ensure the 'volcengine' plugin functions correctly in the Agent block, you need to configure the following environment variables in the docker/docker-compose.yaml file:

VOLCENGINE_TOS_ACCESS_KEY: ${VOLCENGINE_TOS_ACCESS_KEY:-your-access-key}
VOLCENGINE_TOS_ENDPOINT: ${VOLCENGINE_TOS_ENDPOINT:-your-server-url}
VOLCENGINE_TOS_REGION: ${VOLCENGINE_TOS_REGION:-your-region}

These variables are necessary for setting up the access key, endpoint, and region for the Volcengine service [2].

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 14 '25 12:03 dosubot[bot]