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: more like this. (#1875)

Garfield Daifcf851295628
diff --git a/api/core/application_manager.py b/api/core/application_manager.py
index c1ad2b7010c..82bf4ec2ef4 100644
--- a/api/core/application_manager.py
+++ b/api/core/application_manager.py
@@ -473,7 +473,7 @@ class ApplicationManager:
more_like_this_dict = copy_app_model_config_dict.get('more_like_this')
if more_like_this_dict:
if 'enabled' in more_like_this_dict and more_like_this_dict['enabled']:
- properties['more_like_this'] = copy_app_model_config_dict.get('opening_statement')
+ properties['more_like_this'] = True
# speech to text
speech_to_text_dict = copy_app_model_config_dict.get('speech_to_text')