Unverified Commit c039f4af authored by takatost's avatar takatost Committed by GitHub

fix: app model config detached in completion thread (#1366)

parent 07285e5f
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment