dify/api/services
Sara Rasool 4f0fb6df2b
chore: use from __future__ import annotations (#30254)
Co-authored-by: Dev <dev@Devs-MacBook-Pro-4.local>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-01-06 23:57:20 +09:00
..
auth fix: fix firecrawl url concat (#30008) 2025-12-24 09:40:32 +08:00
document_indexing_proxy feat: enable tenant isolation on duplicate document indexing tasks (#29080) 2025-12-08 17:54:57 +08:00
enterprise fix: use query param for delete method (#30206) 2025-12-26 00:34:35 -08:00
entities chore: remove icon_large of models (#30466) 2026-01-03 02:35:17 +09:00
errors fix: consolidate duplicate InvokeRateLimitError definitions (#30229) 2025-12-28 03:03:42 +09:00
plugin fix(api): fix credential type handling and rebuild subscription transaction safety (#30242) 2025-12-28 20:29:35 +08:00
rag_pipeline refactor(api): clarify published RAG pipeline invoke naming (#30644) 2026-01-06 23:48:06 +09:00
recommend_app change all to httpx (#26119) 2025-10-10 23:41:16 +08:00
tools refactor: split changes for api/services/tools/api_tools_manage_servi… (#29899) 2025-12-31 10:24:35 +08:00
trigger fix(api): surface subscription deletion errors to users (#30333) 2026-01-05 11:02:04 +08:00
workflow feat: trigger billing (#28335) 2025-11-20 10:15:23 +08:00
__init__.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
account_service.py refactor: port reqparse to Pydantic model (#28949) 2025-12-05 13:05:53 +09:00
advanced_prompt_template_service.py chore: adopt StrEnum and auto() for some string-typed enums (#25129) 2025-09-12 21:14:26 +08:00
agent_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
annotation_service.py fix(api): refactors the SQL LIKE pattern escaping logic to use a centralized utility function, ensuring consistent and secure handling of special characters across all database queries. (#30450) 2026-01-06 09:56:30 +08:00
api_based_extension_service.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
app_dsl_service.py chore: remove unused link icon type (#30469) 2026-01-06 10:10:06 +08:00
app_generate_service.py fix: consolidate duplicate InvokeRateLimitError definitions (#30229) 2025-12-28 03:03:42 +09:00
app_model_config_service.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
app_service.py fix(api): refactors the SQL LIKE pattern escaping logic to use a centralized utility function, ensuring consistent and secure handling of special characters across all database queries. (#30450) 2026-01-06 09:56:30 +08:00
app_task_service.py fix: ensure advanced-chat workflows stop correctly (#27803) 2025-11-25 20:09:03 +08:00
async_workflow_service.py fix: consolidate duplicate InvokeRateLimitError definitions (#30229) 2025-12-28 03:03:42 +09:00
attachment_service.py Feat/support multimodal embedding (#29115) 2025-12-09 14:41:46 +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 feat: get plan bulk with cache (#30339) 2025-12-30 09:27:46 +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 remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
conversation_service.py refactor(api): inject sessionmaker into conversation variable updater (#30609) 2026-01-06 14:52:59 +08:00
conversation_variable_updater.py refactor(api): inject sessionmaker into conversation variable updater (#30609) 2026-01-06 14:52:59 +08:00
dataset_service.py fix(api): refactors the SQL LIKE pattern escaping logic to use a centralized utility function, ensuring consistent and secure handling of special characters across all database queries. (#30450) 2026-01-06 09:56:30 +08:00
datasource_provider_service.py chore: update the error message (#29325) 2025-12-09 15:29:04 +08:00
end_user_service.py fix: allow API to access conversations created before upgrade to 1.10.0 (#28462) 2025-11-21 10:34:55 +08:00
external_knowledge_service.py fix(api): refactors the SQL LIKE pattern escaping logic to use a centralized utility function, ensuring consistent and secure handling of special characters across all database queries. (#30450) 2026-01-06 09:56:30 +08:00
feature_service.py feat: trigger billing (#28335) 2025-11-20 10:15:23 +08:00
feedback_service.py test: add comprehensive unit tests for FeedbackService (#28771) 2025-11-28 11:33:56 +08:00
file_service.py Feat/support multimodal embedding (#29115) 2025-12-09 14:41:46 +08:00
hit_testing_service.py fix: hit-test failed when attachment id is not exist (#29563) 2025-12-12 13:45:00 +08:00
knowledge_service.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
message_service.py more typed orm (#28577) 2025-11-24 21:01:46 +08:00
metadata_service.py feat: Implement partial update for document metadata, allowing merging of new values with existing ones. (#28390) 2025-11-21 12:58:20 +08:00
model_load_balancing_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
model_provider_service.py chore: remove icon_large of models (#30466) 2026-01-03 02:35:17 +09:00
oauth_server.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
operation_service.py more httpx (#25651) 2025-09-22 23:07:09 +08:00
ops_service.py feat: MLflow tracing (#26093) 2025-11-22 13:53:58 +08:00
recommended_app_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
saved_message_service.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
tag_service.py fix(api): refactors the SQL LIKE pattern escaping logic to use a centralized utility function, ensuring consistent and secure handling of special characters across all database queries. (#30450) 2026-01-06 09:56:30 +08:00
variable_truncator.py chore: use from __future__ import annotations (#30254) 2026-01-06 23:57:20 +09:00
vector_service.py Feat/support multimodal embedding (#29115) 2025-12-09 14:41:46 +08:00
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 chore: use from __future__ import annotations (#30254) 2026-01-06 23:57:20 +09:00
workflow_app_service.py fix(api): refactors the SQL LIKE pattern escaping logic to use a centralized utility function, ensuring consistent and secure handling of special characters across all database queries. (#30450) 2026-01-06 09:56:30 +08:00
workflow_draft_variable_service.py fix: _model_to_insertion_dict missing id (#30603) 2026-01-06 14:13:29 +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 Enhanced GraphEngine Pause Handling (#28196) 2025-11-26 19:59:34 +08:00
workspace_service.py Fix basedpyright type errors (#25435) 2025-09-10 01:54:26 +08:00