mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-17 02:07:00 +08:00
fix: app model config detached in completion thread (#1366)
This commit is contained in:
parent
07285e5f8b
commit
c039f4af83
@ -142,7 +142,7 @@ class CompletionService:
|
||||
'flask_app': current_app._get_current_object(),
|
||||
'generate_task_id': generate_task_id,
|
||||
'detached_app_model': app_model,
|
||||
'app_model_config': app_model_config,
|
||||
'app_model_config': app_model_config.copy(),
|
||||
'query': query,
|
||||
'inputs': inputs,
|
||||
'detached_user': user,
|
||||
@ -284,7 +284,7 @@ class CompletionService:
|
||||
'flask_app': current_app._get_current_object(),
|
||||
'generate_task_id': generate_task_id,
|
||||
'detached_app_model': app_model,
|
||||
'app_model_config': app_model_config,
|
||||
'app_model_config': app_model_config.copy(),
|
||||
'query': message.query,
|
||||
'inputs': message.inputs,
|
||||
'detached_user': user,
|
||||
|
Loading…
x
Reference in New Issue
Block a user