dify/api/tests
-LAN- 9b65e53c12
refactor(api): decouple llm quota layer from model instances
Introduce tenant-scoped quota helpers that accept provider and model identity directly.

Refactor the workflow quota layer and engine wiring to use public node and event model identity instead of reconstructing ModelInstance, and keep the legacy ModelInstance helpers as deprecated wrappers with focused test coverage.
2026-05-07 18:16:58 +08:00
..
fixtures/workflow fix(api): defer streaming response until referenced variables are updated (#30832) 2026-01-12 16:23:18 +08:00
integration_tests fix(api): resolve graphon upgrade CI failures 2026-05-07 18:16:57 +08:00
test_containers_integration_tests fix(api): resolve graphon upgrade CI failures 2026-05-07 18:16:57 +08:00
unit_tests refactor(api): decouple llm quota layer from model instances 2026-05-07 18:16:58 +08:00
__init__.py refactor: move vdb implementations to workspaces (#34900) 2026-04-13 08:56:43 +00:00
conftest.py refactor(workflow-file): move core.file to core.workflow.file (#32252) 2026-02-16 22:38:19 +08:00
workflow_test_utils.py chore: reorg imports (#35308) 2026-04-16 08:50:02 +00:00