You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/api/services
QuantumGhost 10b738a296
feat: Persist Variables for Enhanced Debugging Workflow (#20699)
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.

By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.

Key highlights of this change:

- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.

Closes #19735.
9 months ago
..
auth feat: Integrate WaterCrawl.dev as a new knowledge base provider (#16396) 12 months ago
enterprise Feat/webapp verified sso main (#20494) 10 months ago
entities fix keyword search top-k not initial (#21202) 9 months ago
errors feat: Persist Variables for Enhanced Debugging Workflow (#20699) 9 months ago
plugin fix(migrate/tools): Correct parameter name in tool_builtin_providers migration function (#21358) 9 months ago
recommend_app feat: mypy for all type check (#10921) 1 year ago
tools fix: Replace GenericProviderID with ToolProviderID (#21064) 9 months ago
workflow feat: mypy for all type check (#10921) 1 year ago
__init__.py chore(api/services): apply ruff reformatting (#7599) 2 years ago
account_service.py chore: replace pseudo-random generators with secrets module (#20616) 10 months ago
advanced_prompt_template_service.py feat: mypy for all type check (#10921) 1 year ago
agent_service.py chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions (#19224) 11 months ago
annotation_service.py chore: all model.query replace to db.session.query (#19521) 10 months ago
api_based_extension_service.py chore(api/services): apply ruff reformatting (#7599) 2 years ago
app_dsl_service.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 9 months ago
app_generate_service.py feat: tenant app invocations limiter (#16221) 1 year ago
app_model_config_service.py chore(api/services): apply ruff reformatting (#7599) 2 years ago
app_service.py Feat/webapp verified sso main (#20494) 10 months ago
audio_service.py Fix wrong allowed extensions (#16893) 1 year ago
billing_service.py Feat/education api (#17168) 12 months ago
clear_free_plan_tenant_expired_logs.py refactor(workflow): Rename workflow node execution models (#20458) 10 months ago
code_based_extension_service.py chore(api/services): apply ruff reformatting (#7599) 2 years ago
conversation_service.py Resolves #18536 Retreive conversation variables (#18581) 11 months ago
dataset_service.py Feature:Refactor batch update document status for #21324 (#21325) 9 months ago
external_knowledge_service.py fix: replace all dataset.Model.query to db.session.query(Model) (#19509) 10 months ago
feature_service.py Feat/plugin install scope management (#19963) 9 months ago
file_service.py feat(workflow): domain model for workflow node execution (#19430) 10 months ago
hit_testing_service.py update knowledge base api (#20426) 10 months ago
knowledge_service.py feat: mypy for all type check (#10921) 1 year ago
message_service.py add endpoint of get feedbacks (#18697) 10 months ago
metadata_service.py fix: replace all dataset.Model.query to db.session.query(Model) (#19509) 10 months ago
model_load_balancing_service.py Introduce Plugins (#13836) 1 year ago
model_provider_service.py Introduce Plugins (#13836) 1 year ago
moderation_service.py feat: mypy for all type check (#10921) 1 year ago
operation_service.py chore(api/services): apply ruff reformatting (#7599) 2 years ago
ops_service.py fix: drop some type fixme (#20344) 10 months ago
recommended_app_service.py feat: mypy for all type check (#10921) 1 year ago
saved_message_service.py feat: mypy for all type check (#10921) 1 year ago
tag_service.py fix: update app tag error (#20618) 10 months ago
vector_service.py refactor: Use typed SQLAlchemy base model and fix type errors (#19980) 10 months ago
web_conversation_service.py feat: mypy for all type check (#10921) 1 year ago
webapp_auth_service.py Feat/webapp verified sso main (#20494) 10 months ago
website_service.py fix: drop some type fixme (#20344) 10 months ago
workflow_app_service.py Add Filter of Get Workflow Logs (#21172) 9 months ago
workflow_draft_variable_service.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 9 months ago
workflow_run_service.py refactor(workflow): Rename workflow node execution models (#20458) 10 months ago
workflow_service.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 9 months ago
workspace_service.py chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions (#19224) 11 months ago