diff --git a/libs/chatchat-server/chatchat/startup.py b/libs/chatchat-server/chatchat/startup.py index 01a7b10c3..992864b3f 100644 --- a/libs/chatchat-server/chatchat/startup.py +++ b/libs/chatchat-server/chatchat/startup.py @@ -284,7 +284,7 @@ def process_count(): target=run_api_server, name=f"API Server", kwargs=dict(model_platforms_shard=model_platforms_shard, started_event=api_started, run_mode=run_mode), - daemon=True, + daemon=False, ) processes["api"] = process @@ -367,4 +367,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main()