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
52.6k stars 7.69k forks source link

fix: rules should not be None for in #10977

Closed yihong0618 closed 3 days ago

yihong0618 commented 3 days ago

Summary

still part of https://github.com/langgenius/dify/pull/10921 when rules are empty will case in None bug, better is empty dict

[!Tip] Close issue syntax: Fixes #<issue number> or Resolves #<issue number>, see documentation for more details.

Screenshots

Before: After:
... ...

Checklist

[!IMPORTANT]
Please review the checklist below before submitting your pull request.