langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
50.29k stars 7.2k forks source link

Error using large language model #10147

Closed zhizhuaa closed 2 hours ago

zhizhuaa commented 2 hours ago

Self Checks

Dify version

Version 0.10.2

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

Using a large language model to conduct a conversation results in an error, the specific error content is as follows:

Snipaste_2024-11-01_08-35-54

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

crazywoola commented 2 hours ago

Try to adjust the max_tokens in the configuration panel to a smaller value. :)

dosubot[bot] commented 2 hours ago

I found a similar discussion regarding an error when using a large language model in the self-hosted version 0.10.2 of Dify. The error message "Unrecognized request argument supplied: functions" can occur if an Azure OpenAI key is used without successfully deploying the model. Ensure that the gpt-3.5-turbo model version is 0613 or later, as earlier versions do not support the function calling capabilities required by Zhichat. Additionally, make sure both the frontend and backend versions are up to date and consistent [1][2][3].

To continue talking to Dosu, mention @dosu.

zhizhuaa commented 1 hour ago

Thanks!