mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 00:33:03 +08:00
[Doc] modify offline-inerence docs (#2800)
* modify offline-inerence docs * [bug] remove tool_call_content
This commit is contained in:
@@ -215,8 +215,7 @@ class ErnieProcessor(BaseDataProcessor):
|
||||
response_dict.outputs.text = full_text
|
||||
data_processor_logger.info(f"req_id:{req_id}, token)ids: {token_ids}")
|
||||
if response_dict.outputs.text == "" and \
|
||||
response_dict.outputs.reasoning_content == "" and \
|
||||
response_dict.outputs.tool_call_content == []:
|
||||
response_dict.outputs.reasoning_content == "":
|
||||
return None
|
||||
return response_dict
|
||||
|
||||
|
Reference in New Issue
Block a user