Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: name 'current_app' is not defined in recommended_app_service (#6574)

takatost16907888274b
diff --git a/api/services/recommended_app_service.py b/api/services/recommended_app_service.py
index 20d21c22a91..1c1c5be17c6 100644
--- a/api/services/recommended_app_service.py
+++ b/api/services/recommended_app_service.py
@@ -4,6 +4,7 @@ from os import path
from typing import Optional
import requests
+from flask import current_app
from configs import dify_config
from constants.languages import languages