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
45.3k stars 6.36k forks source link

The model results in the workflow keep returning empty #6957

Closed zxzxde closed 1 month ago

zxzxde commented 1 month ago

Self Checks

Dify version

0.6.15

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

使用worklfow执行模型返回的是内容一直是空,如果换成对话流程是可以正常返回的。 image image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

dosubot[bot] commented 1 month ago

@zxzxde Hello! I'm here to help you with bug fixes, questions, and contributions. Let's work together to solve the issue you're facing.

The issue you're experiencing with the workflow returning empty results in Dify version 0.6.15 (Docker) could be due to the ParameterExtractorNode failing to extract results from function calls or text responses. This is a known issue in this version, where the node can end up with empty results under certain conditions [1].

Additionally, if you are using the Ollama service, ensure that it is accessible from the Docker container. Instead of using localhost, use host.docker.internal in the service URL to expose the Ollama service to the network:

http://host.docker.internal:11434

Update the Base URL in the Dify settings accordingly:

Base URL: http://host.docker.internal:11434

For further diagnosis, enable detailed logging for the workflow execution using the "View Log—Details" and "View Log—Trace" options. This will provide comprehensive information about each step of the workflow execution [2][3][4][5][6].

By addressing these points, you should be able to resolve the issue with the workflow returning empty results.

To continue talking to Dosu, mention @dosu.