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
51.82k stars 7.51k forks source link

Node Variable Aggregator not work on version 0.11.0 #10569

Closed KevinZhang19870314 closed 4 days ago

KevinZhang19870314 commented 4 days ago

Self Checks

Dify version

0.11.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

image

  1. Create a chatflow with this dsl file;
  2. Ask for "hi"; Variable Aggregator.zip

✔️ Expected Behavior

It should output both Dog and Cat.

❌ Actual Behavior

There is one animal mentioned: a cat.

dosubot[bot] commented 4 days ago

I found a similar unsolved discussion regarding the Node Variable Aggregator not extracting multiple variables in multiple rounds of conversations. You might find it helpful to check out this discussion for any insights or updates [1].

For your specific issue, ensure that the Node Variable Aggregator is configured correctly to aggregate variables of the same data type, as it can only aggregate variables of the same type. If the first variable added is of a specific type, subsequent variables must match this type [2]. Additionally, check if there are any constraints or limitations that might be affecting its functionality in your setup [2].

To continue talking to Dosu, mention @dosu.

KevinZhang19870314 commented 4 days ago

Attach the node run details. image image image image

crazywoola commented 4 days ago

Duplicated, the variable aggregator will not merge things together as you expected.

Please search existing issues. https://github.com/langgenius/dify/issues/8420

https://github.com/langgenius/dify/issues/8420#issuecomment-2350899774

In your case, you just need to remove the Variable Aggregator, and it will merge things automatically.