[Feature] support fd return decode response (#4300)

* fix

* fix

* fix

* [Feature] support clear data

* update

* fix

* fix

* fix

* fix

* [BugFix] fix clear data

* Update api_server.py

* Update api_server.py

* [Feature] support fd decode response

* Update engine.py

* Update envs.py

* Update expert_service.py

* Update common_engine.py

---------

Co-authored-by: Jiang-Jia-Jun <163579578+Jiang-Jia-Jun@users.noreply.github.com>
Co-authored-by: ltd0924 <luotingdan@baidu.com>
This commit is contained in:
ltd0924
2025-09-28 16:11:50 +08:00
committed by GitHub
parent c8985727a6
commit c35a21a99a
4 changed files with 58 additions and 21 deletions

View File

@@ -80,6 +80,9 @@ class ExpertService:
start_time = time.time()
self.engine.start()
if envs.FD_ENABLE_RETURN_TEXT:
self.engine.create_data_processor()
if ipc_signal_suffix is not None:
self.api_server_pid = ipc_signal_suffix
self.engine.start_zmq_service(ipc_signal_suffix)