dify/api/services
Harry 44f451bd7d refactor(api): improve graph validation logic in WorkflowService
- Updated the validate_graph_structure method to handle empty graph cases gracefully.
- Introduced a variable for workflow_id to ensure consistent handling of unknown workflow IDs.
- Enhanced code readability and maintainability by refining the method's structure.
2025-11-11 16:14:00 +08:00
..
auth
enterprise feat: use id for webapp (#27576) 2025-10-29 01:45:40 -07:00
entities
errors Merge remote-tracking branch 'origin/main' into feat/trigger 2025-11-05 12:59:25 +08:00
plugin apply linter 2025-10-30 18:48:16 +08:00
rag_pipeline refactor: implement tenant self queue for rag tasks (#27559) 2025-11-06 21:25:50 +08:00
recommend_app
tools refactor(api): replace dict type hints with Mapping for improved type safety 2025-10-29 18:10:38 +08:00
trigger fix(trigger): enhance credential handling by decrypting and masking subscription properties and parameters 2025-11-04 18:15:13 +08:00
workflow feat: enhance trigger metadata structure by adding type field and updating trigger_metadata handling 2025-11-05 16:49:29 +08:00
__init__.py
account_service.py Feature:during account initialization, set the interface language to be consistent with the display language(#27029) (#27042) 2025-10-21 15:53:12 +08:00
advanced_prompt_template_service.py
agent_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
annotation_service.py feat: enhance annotation API to support optional message_id and content fields (#27460) 2025-11-04 14:11:09 +08:00
api_based_extension_service.py
app_dsl_service.py chore: update trigger dsl version to 0.5.0 2025-10-23 15:05:39 +08:00
app_generate_service.py Merge remote-tracking branch 'origin/main' into feat/trigger 2025-11-04 09:44:13 +08:00
app_model_config_service.py
app_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
async_workflow_service.py fix CI 2025-11-06 09:46:43 +08:00
audio_service.py fix: remove unnecessary Flask context preservation to avoid circular import in audio service (#27380) 2025-10-24 10:41:14 +08:00
billing_service.py refactor: replace hardcoded user plan strings with CloudPlan enum (#27675) 2025-11-03 11:51:09 +08:00
clear_free_plan_tenant_expired_logs.py refactor: replace hardcoded user plan strings with CloudPlan enum (#27675) 2025-11-03 11:51:09 +08:00
code_based_extension_service.py
conversation_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
dataset_service.py refactor: implement tenant self queue for rag tasks (#27559) 2025-11-06 21:25:50 +08:00
datasource_provider_service.py apply linter 2025-10-30 18:48:16 +08:00
document_indexing_task_proxy.py refactor: implement tenant self queue for rag tasks (#27559) 2025-11-06 21:25:50 +08:00
end_user_service.py refactor: remove common end user operations out of wraps.py and move it into EndUserService 2025-10-18 19:09:55 +08:00
external_knowledge_service.py
feature_service.py refactor: replace hardcoded user plan strings with CloudPlan enum (#27675) 2025-11-03 11:51:09 +08:00
file_service.py feat: implement file extension blacklist for upload security (#27540) 2025-11-04 15:45:22 +08:00
hit_testing_service.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
knowledge_service.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
message_service.py Ensure suggested questions parser returns typed sequence (#27104) 2025-10-20 13:01:09 +08:00
metadata_service.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
model_load_balancing_service.py
model_provider_service.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
oauth_server.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
operation_service.py
ops_service.py feat: add Tencent Cloud APM tracing integration (#25657) 2025-10-14 10:21:17 +08:00
recommended_app_service.py
saved_message_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
tag_service.py
variable_truncator.py fix(api): Disable SSE events truncation for service api (#27484) 2025-10-27 21:15:44 +08:00
vector_service.py
web_conversation_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
webapp_auth_service.py refactor: replace localStorage with HTTP-only cookies for auth tokens (#24365) 2025-10-19 21:29:04 +08:00
website_service.py refactor: Update Firecrawl to use v2 API (#24734) 2025-10-15 10:48:54 +08:00
workflow_app_service.py feat: enhance trigger metadata structure by adding type field and updating trigger_metadata handling 2025-11-05 16:49:29 +08:00
workflow_draft_variable_service.py feat(trigger): system variables for trigger nodes 2025-10-29 18:10:38 +08:00
workflow_run_service.py feat(api): Introduce workflow pause state management (#27298) 2025-10-30 14:41:09 +08:00
workflow_service.py refactor(api): improve graph validation logic in WorkflowService 2025-11-11 16:14:00 +08:00
workspace_service.py