mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
Implement resources.py with list_tenant_resources() to normalize tenant's configured models, datasets, and tools to ResourceRef(id, label, meta, readiness). Each source degrades to empty list on failure for graceful degradation. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>