mirror of
https://github.com/langgenius/dify.git
synced 2026-04-25 13:16:16 +08:00
fix: resolve test failures after segment 2 merge
- Backend: fix deduct_llm_quota import path in llm node - Backend: update core.variables → core.workflow.variables imports - Frontend: update UpdateWorkflowNodesMapPayload in tests - Frontend: fix various test expectations to match merged code Made-with: Cursor
This commit is contained in:
@ -1969,7 +1969,9 @@ class LLMNode(Node[LLMNodeData]):
|
||||
LLMStructuredOutput(structured_output=structured_raw) if structured_raw else None
|
||||
)
|
||||
|
||||
llm_utils.deduct_llm_quota(tenant_id=self.tenant_id, model_instance=model_instance, usage=usage)
|
||||
from core.app.llm.quota import deduct_llm_quota
|
||||
|
||||
deduct_llm_quota(tenant_id=self.tenant_id, model_instance=model_instance, usage=usage)
|
||||
completed = True
|
||||
|
||||
case LLMStructuredOutput():
|
||||
|
||||
Reference in New Issue
Block a user